Static header image in Effervescence+ Theme

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.

Comments

  • acrylian Administrator, Developer
    No configuration, you have to modify the theme.
  • acrylian, can you point me to instructions for modifying the Effervence+ theme?
  • acrylian Administrator, Developer
    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.
  • Sounds like more than I want to get into. I wish a static header image was configurable in the theme customization.
  • 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.
  • acrylian Administrator, Developer
    True actually, but some coding knowledge will be require then too.
Sign In or Register to comment.