![]() |
|
Any way to use the Exif UserComment field - 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: Any way to use the Exif UserComment field (/thread-6541.html) |
Any way to use the Exif UserComment field - mattiouz - 2010-02-01 Hi, I'm using the UserComment field to store visibility info about my photo (is it public or password protected). I'm trying to get zenphoto to pick up the UserComment exif field from my photos, but I can't get it do do so. I've added the field to the $_zp_exifvars array in the functiuns.php file: The column gets created in the DB during setup but it is always empty, zenphoto can't read the field from the photos. I've noticed that the UserComment part of exif.php is actually commented out (line 650): Thanks, Any way to use the Exif UserComment field - sbillard - 2010-02-01 This is all inherited code so I do not know why that is commented out. Please do give it a try to enable it. If you get it working let us know the changes (preferably with at feature ticket) and we will incorporate it. Attach an image with such a comment for our testing. Any way to use the Exif UserComment field - mattiouz - 2010-02-04 Hi Stephen, I tried un-commenting the piece of code but no luck. Fortunately I have the Exif:UserComment fieled duplicated in the IPTC:SpecialInstructions field, and I was able to get zenPhoto pick this one up. I added the following to the functions.php (Note that for some reason the Metadata Key is SpecialInstru): Then I added a couple lines to the updateMetaData() function in class-image.php: Any way to use the Exif UserComment field - acrylian - 2010-02-05 Please be a little patient as Stephen is away until next week und I am not familiar with the EXIF stuff. Any way to use the Exif UserComment field - sbillard - 2010-02-07 please create a ticket with this information and attach an image with such an IPTC field. |