ZenphotoCMS Forum
How to ignore EXIF/IPTC for "Album date" ? - 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: How to ignore EXIF/IPTC for "Album date" ? (/thread-4711.html)



How to ignore EXIF/IPTC for "Album date" ? - PashaXIII - 2009-02-19

Hi again

There is the very useful option in Admin panel that called "Use latest image date" but EXIF/IPTC break this function.

When I upload picture and if this picture contain EXIF/IPTC then ZenPhoto read date not from file but from EXIF (Date modified / Date taken or Date digitized, I'm not sure) and instead of correct latest uploaded image date I get date from EXIF.

Example:
08 September 2007 instead of 10 February 2009

Is there any way to say ZP not use date from EXIF for Album date? I guess it must be here - class-image.php around $this->getExifData();

And if no, how to disable EXIF/IPTC at all?




How to ignore EXIF/IPTC for "Album date" ? - PashaXIII - 2009-02-19

Or better I ask how to teach ZenPhoto return filemtime() value in the first place?




How to ignore EXIF/IPTC for "Album date" ? - acrylian - 2009-02-19

You can use the getFullimageURL function to access the image directly and get the filemtime() I guess.




How to ignore EXIF/IPTC for "Album date" ? - sbillard - 2009-02-19

Sorry, what you want to do is not available in Zenphoto. You would have to purge your image data of the IPTC date. I am not sure why this would be the wrong date unless something in your workflow is not correct.