Adapting the zpArdoise theme, I want to have the album layout change based if the album contain panoramic photos.
What I have right now is some extra code in the header to modify the gallerific script, and similar code in album.php to alter the layout to allow panoramic photos to cover the width of the wrapper. I use the following to accomplish this:
A comparison of the results is here:
http://rogallery.rohair.com/Collections/longscapes
http://rogallery.rohair.com/Favorites
HERE IS MY QUESTION:
Instead of using getAlbumTitle(), is there another parameter that can be set. For example, could there be a logical field (true/false) in the database that I as a user could be used to indicate albums that contain panoramic photos? (I would like to have several that ONLY contain panos)
Thanks for any direction that could be provided
You are probably looking for this:
http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functionisLandscape
Since a landscape image must not necessarily a panoramic one the easiest would be to use a specific tag to check or one of the fields like custom data, location etc. to store a specific value.
Everything else would probably involve some more custom coding.
maybe, you could have a look on this layout of galleriffic http://www.twospy.com/galleriffic/example-5.html and try to use it on your specific layout.
you have a similar result here : http://afifsay.com/