ZenphotoCMS Forum
Metadata truncated - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Metadata truncated (/thread-11047.html)



Metadata truncated - meritaten - 2013-05-10

Does anyone know where I can adjust the settings so my metadata doesn't get truncated when added to the database? I add all my images via FTP.

Thanks!




Metadata truncated - acrylian - 2013-05-10

Some more info maybe what gets truncated? Which release? Errors in the logs?




Metadata truncated - meritaten - 2013-05-10

The fields in the sql database: IPTCImageCredit and IPTCSource. I am using the 1.4.4.4 build. I checked the error log and there is nothing.




Metadata truncated - acrylian - 2013-05-10

Please post an example what should be there and how it is truncated.




Metadata truncated - meritaten - 2013-05-10

Each image may have a different credit (this is a historical image database). For the IPTCImageCredit field, one image has "Andrews University Public Relati", which should read "Andrews University Public Relations". For the IPTCSource, I have one that shows "http://www.centerforadventistres" which should read "http://www.centerforadventistresearch.org/gallery/photographs". I am not really worried about the IPTCSource field, as we probably won't use it in the display (since it's the same for each photograph, I will probably just write the credit notice into the image.php code). But since it was truncating too, I mentioned it.




Metadata truncated - acrylian - 2013-05-10

Most EXIF fields in the database are setup with var(52) or even var(32) so anything with more chars is truncated then. I have to admit I don't know why they are so tight but I am rarely using EXIF data myself.

My colleague will have an idea. Maybe the char limit is part of the official exif specs then it would make sense.




Metadata truncated - sbillard - 2013-05-10

The size limits are typically set from the IPTC/EXIF spec. Probably you should open issues on this.