aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sisudoc/ocda/meta/metadoc_object_setter.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/sisudoc/ocda/meta/metadoc_object_setter.d')
-rw-r--r--src/sisudoc/ocda/meta/metadoc_object_setter.d3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sisudoc/ocda/meta/metadoc_object_setter.d b/src/sisudoc/ocda/meta/metadoc_object_setter.d
index 7abde64..a88f491 100644
--- a/src/sisudoc/ocda/meta/metadoc_object_setter.d
+++ b/src/sisudoc/ocda/meta/metadoc_object_setter.d
@@ -105,6 +105,9 @@ template ObjectSetter() {
string fileName;
ubyte[32] fileHash_sha256;
ulong fileSize;
+ bool fileMissing = false; // file not found or unreadable, fileHash_sha256 & fileSize unset
+ int imageWidth = 0; // actual pixel dimensions of the
+ int imageHeight = 0; // file, not the display dimensions carried in the markup (w##h##)
}
struct SHA_256_Hashes_ {
char[] summary;