Hey everyone. I'm wondering how to include extra IPTC fields in image.php. I have the most recent nightly build (as of the posting of this topic) but I don't see any other IPTC data besides image title, image description, and tags.
Also, when I add a new tag to the image, it includes it in the dB. Does anyone here know if there is a way to tag the actual image files with a new tag? This would be wonderful because it would let the community tag images and then those images would be portable to other applications.
thanks,
Walker
ITPC/EXIF fields:
http://www.zenphoto.org/documentation/zenphoto/_template-functions.php.html#functiongetImageData
http://www.zenphoto.org/documentation/zenphoto/_template-functions.php.html#functionprintImageMetadata
http://www.zenphoto.org/documentation/zenphoto/_template-functions.php.html#functionprintImageEXIFData
Sorry, Zenphoto does currently not have the ability to add ITPC/EXIF data to images itself, you have to add that before uploading. But there is already a ticket for it.
I understand that Zenphoto does retrieve that data, but for some reason it's not showing up. I've tried the functions above, but I must be typing something wrong. (I've also included new images with full IPTC data just to test if it was a cache thing.)
Do I need to have getImageData in image.php as well as printImageMetadata?
ok. I'm confused. An example of the code needed to print all of the IPTC metadata in image.php would be great.
all the best,
Walker
I figured it out. You have to add this to image.php to get it to actually show up.
Walker
I am having problems with the IPTC data showing up, too. I just recently installed the latest version of ZenPhoto on a linux server (if it helps to know that.)
After reading this thread, I posted this into both image.php files of the default and current theme I am using:
Could I have pasted it into the wrong place in that file? The above solution of this from wblackwell wasn't clear to where in that file to put it. I am still having the problem of Titles and Descriptions showing up.
Please help.
Lindsie