prazim Posted June 3, 2009 Posted June 3, 2009 Hi, I would like to insert a gif in place of the header title text in index.php. Is this possible? If so, how? Thanks! Sue
spooks Posted June 3, 2009 Posted June 3, 2009 do u mean u wish to replace the header with just a image, or smthing else on the home page? Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
prazim Posted June 3, 2009 Author Posted June 3, 2009 do u mean u wish to replace the header with just a image, or smthing else on the home page? well, for now, I'd like to try just having a gif there. this will enable me to control the font and exact appearance of the text. Also, is it possible to specify the header by category? That would be ideal. many thanks, Sue
jorishuijben Posted August 3, 2009 Posted August 3, 2009 I would likt to do the same.. do you have a solution yet? regards, Joris
shows103 Posted August 4, 2009 Posted August 4, 2009 you can if you do it by having a file called gif.php replacing the header file code would look like the following; <? include("gif.php"); ?> And then inside the gif.php <?php $files = glob('{*.PNG,*.png,*.JPG,*.jpg,*.GIF,*.gif}', GLOB_BRACE); readfile($files[array_rand($files)]); ?> The code above is to do with a rotation of images but I'm sure it will work with one image as well as many others
Recommended Posts
Archived
This topic is now archived and is closed to further replies.