I would like to print some information on the image page only if a certain tag exists for an image. E.g. If an image is tagged as a plant, I'd like to include its endangered status.
After reading several posts, it seems I should be able to do somehing like this:
`
It generate a 500 internal server error ... No errors in zenphoto debug log.
Btw, there is an object model method for checking a tag:
http://www.zenphoto.org/documentation/classes/ThemeObject.html#methodhasTag
Again we have a documentation and try hard to name all function after what they do.
A 500 internal error I don't understand as well but on some later PHP 5 versions it might cause a notice to pass "getTags()" directly. Preferred is to first put the value into a var.
Thank you for pointing me toward the hasTag() function. This is what worked for me:
`
[list][*][/list]