ZenphotoCMS Forum
Effervescence+ static header image? - 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: Effervescence+ static header image? (/thread-3334.html)



Effervescence+ static header image? - Kudzu - 2008-07-20

I have searched and maybe I missed this. How can I set the header image to not be random on the main page? I found it for each gallery but I can't find it for the main Gallery page.




Effervescence+ static header image? - sbillard - 2008-07-20

The header for both the gallery (index.php) and the albums (album.php) is created by the call on printHeadingImage(). You will need to pass it a static image rather than a call to getRandomImages()




Effervescence+ static header image? - krucz36 - 2009-02-04

i tried this out and failed miserably.
i had this:
and changed it to this:
and the whole page didn't load.

the header.png image is in the same dir as the gallery.php...seems like the thing to do. any thoughts on what i messed up?




Effervescence+ static header image? - sbillard - 2009-02-04

athat might just be that the function parameter is an image object. You have passed a string.




Effervescence+ static header image? - krucz36 - 2009-02-04

I guess I'm just dopey. I can't get my head around what I'd put in there as a function. I looked through the functions guide but frankly 90% of it is over my head.