ZenphotoCMS Forum
Exclude certain images/thumbs from rotating on frontpage - 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: Exclude certain images/thumbs from rotating on frontpage (/thread-11473.html)



Exclude certain images/thumbs from rotating on frontpage - meegja - 2013-11-11

Is it possible to exclude certain images/thumbs from the rotating of random images on the frontpage and in subfolders? I can set the main thumb for subfolders but I can not find a way to set the main image for the frontpage and galleries itself.
I have some nude 3D renders and although over here (The Netherlands) people do not care, in other countries they don't like it to be confronted to nudity without any warning.
I use the default Effervescence+ as theme.




Exclude certain images/thumbs from rotating on frontpage - acrylian - 2013-11-11

You can set so called albums thumbs for all albums on each album backend page. There are several options availabe either automatic or a specific image.




Exclude certain images/thumbs from rotating on frontpage - meegja - 2013-11-11

Yes, did find that. But I just found out that I mean the header image. I can set that in the specific theme options to once a day or not. But either option gives a random image as header image. So I am wondering if I can make the header image static. Or is is a default setting in Effervescence+ that can not be changed?




Exclude certain images/thumbs from rotating on frontpage - acrylian - 2013-11-11

Well, it is random :-) You would have to modify the theme to use an static image. Excluding is not that simple, too.




Exclude certain images/thumbs from rotating on frontpage - fretzl - 2013-11-11

A quick way to get what you want:

In gallery.php change line 57
printHeadingImage(getRandomImages (getThemeOption('effervescence_daily_album_image')));
to

printHeadingImage(getRandomImagesAlbum('header-album'));

where header-album is the album from which to show the random header images.
(you can of course name the album anything you like)
If you want a static header image, just put only one image in the album.

This way you can control what you want to show as header image.




Exclude certain images/thumbs from rotating on frontpage - meegja - 2013-11-11

Thanx Fretzl! Don't know really my way around PHP so I don't do that. But I have to do a new, clean install of ZenPhoto anyway (see my other posting).