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
@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
You don't need custom functions. The functions I referred to are standard functions and can directly be used. Sorry, but if you don't understand the theming tutorial you will have to learn a few XHTML and PHP basics first. We can't teach these here.
You have to modify your theme file(s) where you want to display the author using the above mentioned function(s). It is really not that hard but you really should first understand how theming works.
You have to do NOTHING with files within `zp-core`!
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).