Member
Member
dwdod   02-01-2013, 19:30
#1

I am a new ZenPhoto user, converting from Gallery3. I am using the Effervescence+ theme and I would like for the header image to be static. I have discovered a way to make the header image change once a day versus on each page load, but I have not found a way to make it static. I apologize if this is a simple configuration setting that I have missed.

Thank you for your kind assistance.

Administrator
Administrator
acrylian   02-01-2013, 19:42
#2

No configuration, you have to modify the theme.

Member
Member
dwdod   02-01-2013, 20:33
#3

acrylian, can you point me to instructions for modifying the Effervence+ theme?

Administrator
Administrator
acrylian   02-01-2013, 20:48
#4

Eff+ is a quite complicated theme so without coding knowledge it is not recommended. You have to change the call to the function printHeadingImage to a specific image object instead of the randomImages (see the object model tutorial how to create an image object). You will have to change this on every theme page that uses this heading.

Member
Member
dwdod   02-01-2013, 20:58
#5

Sounds like more than I want to get into. I wish a static header image was configurable in the theme customization.

Member
Member
sbillard   02-01-2013, 22:03
#6

Wishes get you nowhere. But making a feature request via the GitHub issues might.

But maybe the change is not so complex as acrylian has indicated. PrintHeadingImage() is local to the EF+ theme, so you can safely change it in your copy of the theme scripts. Just strip out the code that is there and put in the html to display your static image. A crude fix, but it will work without your having to change each call.

Administrator
Administrator
acrylian   03-01-2013, 11:27
#7

True actually, but some coding knowledge will be require then too.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.