![]() |
|
Two (or more) different album formats - 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: Two (or more) different album formats (/thread-11731.html) |
Two (or more) different album formats - LondonLight.org - 2014-04-04 Hi! I will be hosting traditional photographs as well as virtual panoramas and stereographs on my website. I would like to have one album style for traditional photographs, and a different style for the virtual panoramas and stereographs. I know how to work with themes as I've made my own theme from the ground up, but I don't know how to have zenphoto use a different album.php for a specific gallery, lets call it album_pano.php. I see that in the Admin panel where you edit albums you can set a different theme for a specific album. While I could do this, it seems a bit of a dirty hack to create a whole new theme to use just one different album_pano.php. My second question is about integrating the panoramas themselves. I will use primarily HTML5 panoramas with a flash fallback. I would like to be able to use zenphoto to manage the thumbnail and description, and when clicked it should load the panorama's custom html. Which functions should I use? Thank you kindly Two (or more) different album formats - acrylian - 2014-04-04 What you are looking for is this: Alternatively you can also use the object model to check for the current album name to do all wihtin one album.php as well. But above is for sure the easiest. |