ZenphotoCMS Forum
printRandomImages() - How can i print the AlbumTitle too? - 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: printRandomImages() - How can i print the AlbumTitle too? (/thread-8177.html)



printRandomImages() - How can i print the AlbumTitle too? - ka6ym - 2011-01-29

when i use printRandomImages(), i get a random image with only ImageTitle in alt tag!

How do i get the Album Title on that image?

Please, show sample, I'm PHP lol.




printRandomImages() - How can i print the AlbumTitle too? - acrylian - 2011-01-29

You have to use the object model. See the user guide. You also might have to create a custom function. See the theming tutorial.