ZenphotoCMS Forum
Multiple galleries - 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: Multiple galleries (/thread-4264.html)



Multiple galleries - equalitydesigns - 16-12-2008

I would like to have multiple galleries containing multiple albums.

I am sure this is a simple feature in the admin I am just missing. Any help would be highly appreciated.

Thanks




Multiple galleries - code - 16-12-2008

For multiple galleries you need to install zenphoto in multiple directories..




Multiple galleries - acrylian - 16-12-2008

In Zenphoto terminology (see http://www.zenphoto.org/2008/08/zenphoto-glossary/) "gallery" is the entire Zenphoto installation. If you just mean albums within an album (=subalbums) that is a standard feature.




Multiple galleries - no64 - 16-12-2008

I saw this great piece of code in the "Stopdesign" Template:

`

`
So if you have a structure like this in your "albums" folder:

  • albums
    -- folder with 5 pictures
    -- folder with 2 subfolders
    --- subfolder 1 with 20 pictures
    --- subfolder 2 with 30 pictures
    -- folder with 20 pictures
    -- etc.

It will display
something like this under a folder containg pictures

"Foldername" ( 5 photos)

and under a folder containing subfolders:

"Foldername" ( 2 album)

This is great!

Only thing.... if a folder contains videos it still print "xx photos"

Maybe some coder here is able to add something to this code so it will recognise videofiles and print out "video" instead, then it would be perfect.