I'm wondering if there's a reason the EXIF portion of zenphoto doesn't allow the ability to write the data? Is there some security factor or something that I've missed?
I ask because I've found some php class files that allow the read&write functions of the EXIF data, and was wondering if it was something that should be plug-in'ized or not.
Comments
Certainly a plugin which updates the original image from the zenphoto database would interest many users.
What I was thinking is creating a plugin that's similar to "refresh metadata" but works in reverse. Instead of pulling exif/iptc data and populating the database, it adds the info from database to the image.
The biggest reason for this is gallery management. One of the hurdles I see come up often is "I've moved my data and lost my descriptions" etc. And while there is the backend move function, it's a bit inefficient if you have large amounts of files that you need to move due to reoganization.
The other source of information will be the image object's updateMedadata() method. There you will see the IPTC tags information.
Edit: Strike that! I see it does indeed have the description field. This might be a whole lot easier to do via IPTC only for the images.
Good news is I've got the read/write of IPTC down and how to set it, now I just need to make sense of the admin_refresh_metadata so I can reverse the process.
"refreshes" the process passing a new starting point.
A lot of the code in the garbage collect has nothing to do with the images and can be ignored. Another approac might be to use the code in the sitemap plugin. It marches throught the albums and their images. Of course, where it omits password protected ones, you will have to process them.