![]() |
|
Display image Tags on Album page - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Display image Tags on Album page (/thread-11605.html) |
Display image Tags on Album page - melph - 2014-01-27 Hi I am having difficulty in displaying image tags on the album page - any help in pointing me in the right direction would be really appreciated. Ultimately I want to create a function to retrieve the image tag (whilst on the album page) but only to print a certain part of the tag... example: a tag = Species Name (Latin Name) Photographer name I would only want the tag to be everything before the first open bracket e.g. to print out Species name (which could be anything up to 3 words long, so can't use php to limit charecters or just first word) Ps: - Im going to post some advice on exporting large Gallery3 set up over to Zenphoto using the Nirvana script....I think people will find it useful. Display image Tags on Album page - acrylian - 2014-01-27
Better would be to follow a naming convention like so you better can see what part is what. For example: Because of the underscores you can easily explode it into three parts species, latin name and photographer. Yo ucan then further easily remove the divis and/or uppercase the names easily.
Display image Tags on Album page - melph - 2014-01-27 Thanks for the reply - yes the specifics of how to explode the tags into component parts is not a Zenphoto question, but I appreciate the comments. Is it possible to display image tags on the album page? For example, under each image on the album page will be the species name (latin name) Photogrpher name Im fine ot get this to work on the photo page, but not on the album page. any help? Display image Tags on Album page - acrylian - 2014-01-27 To display tags from a specific image or all you can use the tags_extras plugin. Generelly for all those custom things therer is the object model base of Zenphoto. |