Hello,

I am trying to add the following php script which is just for my header, to display a random image. I have tested this script outside of the Flynax template folder and I can confirm it works, but when I put the code into the header.tpl file I don't get any error, but no images displayed either


PHP Code:
Only registered members can view the code
I have tried creating my 'images' folder in the {$rlTplBase} folder which is the general_wide root with no luck and also tried creating the 'images' folder in the same folder as the header.tpl and updated the path in the script with no luck either. I hope someone can figure this out, as I have searched the web night and day to get this script. Now I need to get it working within the Flynax header.tpl (template)...Please help, I am sure it's something simple, but I am exhausted.

Thank you in advance!
Brian