Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Header Logo problem


cr41g

Recommended Posts

Posted

Hi,

 

I have uploaded my logo to my catalog/image directory and changed the code in the header.php file but the logo isn't showing on my site!

 

I have also tested it on a site I have on my local machine and doing exactly the same thing works, so I'm pretty sure my method is right, but the process doesn't work on my live site!

 

I have changed the image (and corresponding line) from .jpg to .png and to .gif none of which work (it's now back to .jpg) does anyone know what the problem could be?

 

Cheers

Posted

Several things come to mind.

 

1. Check the permissions on the image file. They should be 644

 

2. If you used FTP to upload it, did you FTP it in BINARY mode (as opposed to ASCII or TEXT mode)?

 

3. Is the filename in the PHP code exactly the same name as the image file name? On UNIX image.jpg isn't the same file as IMAGE.jpg

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...