XF 2.0 Random Header Images?

Hi all,

I searched for a solution but didn't find anything. I'd like to have maybe three or four images cycle through the header position with each page load.

Anything out there that can do that?

Thanks!
Bart
 
There are a few theme developers out there (themehouse, pixelexit) that incorporates “backstretch” into their themes. And allows to specify a specific class designator(#header) to apply backstretch to cycle random images.
 
No clue right now where the header banner is located, so something like this will work probably in page_container:
HTML:
<div class="headerImage">
    <img src="/path/to/header/{{rand(1,4)}}.png">  
</div>
 
I set up a new folder to host the collection of header images but where in the Page_container template would I insert that bit of code and would I have to comment out other lines to avoid conflicts?

Thanks!
 
Top Bottom