Well, I paste the code in image.php and then enable options of Artist and Image Credit on hte backend (options > image.
But everything is still same...
By the way, what I want to do is that If is it possible to show the name of USER, who upload image. That's all!
@sbillard:
Hi, well I have enabled the filter-new-objects plugin and then then enable options of Artist and Image Credit on hte backend (options > image. but nothing happens.
Even I try to use the echo $_zp_current_image->get("EXIFartist"); on image.php. But still nothing!
So, lets be clear. If you want the name of the person who uploaded the image you use the plugin. That is NOT the EXIFartist field. The name is appended to the description (like I said in my original post!)
If you want some other filed, like the EXIFArtist or IPTCByLine (they are different, by the way, but some software does not show you the distinction) the field from the metadata, then that field MUST exist in the image metadata and Zenphoto MUST have supported the field when you last imported the image metadata.
So, if you have refreshed your metadata and do not see that field, it is not present in your images metadata.