Is is possible to show author's name of images in the gallery?
i don't want to repeat posts so i always prefer explore your forum for the issue and topic, i'm looking for but if i dont find ,ofcouse i'm here
Don't mind
keep helping newbie...We appreciate
@acrylian:
Same here, you talking about this:http://www.zenphoto.org/documentation/classes/_Image.html#methodgetCredit
Where should I have to put it?
@captain1: Yes, if we refer to metadata we mean EXIF/IPTC data. You can use getCredit but that is a class method and needs to be used with the image object. I was actually talking about these: http://www.zenphoto.org/documentation/functions/_functions.php.html#functiongetImageMetadata
http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functionprintImageMetadata
@acrylian:
I just follow as per: http://www.zenphoto.org/2009/03/theming-tutorial/#custom-functions
But nothing happen.
You are funny. How shall I know that you mean the author of a page or article when the thread is about the author of an image???
Since you are not trying to do your "homework" read here:
http://www.zenphoto.org/2009/03/theming-tutorial/#part-4
http://www.zenphoto.org/documentation/plugins/zenpage/_plugins---zenpage---zenpage-template-functions.php.html#functiongetAuthor (A search on the element index page would have brought it up real fast...)
First there is actually no "author" for images/albums like there is for pages or articles, the closest is the EXIFartist field.
To get the artist use echo $_zp_current_image->get("EXIFartist"); on obviously image.php. Of course that will be empty if not set by the image's exif data.
You can also enable that field on the EXIF display option on hte backend (options > image).