Rotating header images

masterchief

Well-known member
I would like to implement rotating header images via scripting .. how is this done with xenForo. I will be using imagerotator addon from longtail video, so I already have the code and everything that I need. I just need to know where to place it and can it be done via ACP or template modification. Please advise.
 
If you just need to insert your code into the HTML then you can edit this template:

Admin CP -> Appearance -> Templates -> logo_block

This template contains the code for the header image.
 
where do I place this code on order to have them display in the page header?

Code:
<  img src="http://path_to_images/header_<?php echo(rand(1,5)); ?>.jpg"
width="image_width" height="image_height" alt="image_alt_text" />
 
Top Bottom