I'm running a script on my index.php page to find albums tagged with the word "featured" but the script doesn't seem to grab the sub-albums that are tagged. Is there a way to check the sub-album tags along with the top level albums?
`
`
`
">
`
`
">
`
`
`
``
`
`
--> Thanks to BertSimons for writing the original script.
There is a function called printAllTagsAs() function which prints either a list or a tagcloud of all tags in your gallery. If you need something special you could make a custom function out of that.
And take a look at the functions guide: www.zenphoto.org/documentation
If you would take the time to read the documentation on www.zenphoto.org/documentation you would read this about getTags():
"Returns a list of tags for either an image or album, depends on the page called from"
So this returns the tags of the current image or album. If you want all tags used in your gallery use printAllTagsAs()