argh I posted that before I got to read your post.
Problem is I want to have the images displaying in the default header in the html include section so I have the first part in the ubbt_header.tmpl and this
</center><center>
<?php echo $image_html[$random[0]]; ?>
<?php echo $image_html[$random[1]]; ?>
<?php echo $image_html[$random[2]]; ?>
<?php echo $image_html[$random[3]]; ?>
<?php echo $image_html[$random[4]]; ?>
<?php echo $image_html[$random[5]]; ?>
<?php echo $image_html[$random[6]]; ?>
</center>
in the default header
:will that not work?