I'm in the midst of setting up a ZenPhoto/Wordpress integrated site for a relative's art gallery. I'm trying to sort out the best way to store information about each piece of artwork.
I know that something like title should be stored in the image file's metadata.
But what about something like size and price? I see a field called 'custom data' in the Zenphoto admin screen for an image, but that's only one field. I see in the Changelog for 1.1.4 that there is an entry "Site defined custom data fields for images and albums" but no matter how I google this I can't find directions (might just be looking in the wrong place!).
Anyway, my question is - based on your experiences/knowledge, what is the best way to store all the various information I need to store? And if the answer is custom fields, can someone point me to an instructional page on them?
Title (metadata), Date Art Created (metadata?), Price (custom field?), Size, Medium, etc.
Thanks in advance! I love Zenphoto!
Comments
Basically, I can't find the Admin Edit page you speak of.
There is also custom data for the album--look at the top of the edit page where the rest of the album info is.
Now someone needs to write a fancy plugin that manages custom fields, letting the user create and access different values without needing to code php!
That's a hint to all of you wonderful plug-in developers out there.
Thanks again for the wonderful Zenphoto!
The need is :
1- being able to add (or change) 3 fields when I insert an image - that are metadata i guess such as Location, City, State... but for title, medium, size, price...
2- Retrieve this information on frontEnd
That's about it.
Thank you for your wonderfull gallery.
Lp
To get the data of the image custom field in your theme use this:
http://www.zenphoto.org/documentation-official/zenphoto/_template-functions.php.html#functiongetImageCustomData
Then use this to separate the values: http://www.php.net/manual/en/function.explode.php.
There are some example below how to use it.
If you maybe are trying to use PayPal for selling picture, you might try the nightly build that has a PayPal plugin.
Thank you to Affa too for his/her answer.