ZenphotoCMS Forum
Display all images in gallery.php - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Themes (https://forum.zenphoto.org/forum-5.html)
+--- Thread: Display all images in gallery.php (/thread-9857.html)



Display all images in gallery.php - weweje - 15-04-2012

Hi.
I'm trying to find out a way to output ALL images from ALL the albums on gallery page.
Is there a quick way to do it or should this be done via a core hack?
Thanks.




Display all images in gallery.php - Laurent - 15-04-2012

I don't really understand.
You have to publish all your pictures and albums and they be display on the gallery page.




Display all images in gallery.php - weweje - 15-04-2012

Gallery page will output an album list, with one thumb for each album ( printCustomAlbumThumbImage ).

I'm looking for a template function or a plugin which could loop thru all images inside all albums and output their thumbs on gallery page.




Display all images in gallery.php - sbillard - 15-04-2012

There is no such function. You can, of course, build it fairly easily. But typically Zenphoto galleries are too large to accomodate all the images on one page.




Display all images in gallery.php - acrylian - 16-04-2012

The solution is actually to create a dynamic album (=saved search) to do that. Tutorial is available on the user guide.




Display all images in gallery.php - weweje - 16-04-2012

You rock!
@sbillard, I agree with your statement, albeit having some thrilling ' hidden ' functions to accomodate each need is a feature of template-functions.php ( and also why i'm using that beautifull piece of code called zenphoto )

Additionally if that template function is albe to output a single image made of all thumbnails, just like a traditional photo contact sheet, this could be system-unexpensive to load, don't you think?

Thanks ;)




Display all images in gallery.php - sbillard - 16-04-2012

Page formatting is the domain of the theme. Support functions will never go that far.