Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Simple problem made difficult


propertop

Recommended Posts

I've searched the forum for a similar situation but been unsuccessful in finding an answer....

 

Basically at some point in the past I've changed my main logo to 'logo.jpg'

 

I now want to change it back to 'logo.gif'.

 

It should be a simple case of going into includes/header.php and changing jpg to gif...or so I thought.

 

When I do this and refresh my site it's still looking for logo.jpg.

 

Can anyone shed any light on this? Could it be something related to my site alone or is it something that has happened to other people?

 

I appreciate it sounds like a human error and it may well be one, but having checked time and time again I can't see anything I'm doing wrong. It should be a simple case of editing a few characters but when I do that, it doesn't work.

Link to comment
Share on other sites

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'filename.jpg', 'osCommerce') . '</a>'; ?></td>

 

needs to be changed to

 

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'filename.gif', 'osCommerce') . '</a>'; ?></td>

 

In your header file

 

This should fix your issue.

Andrew Yuen

osCommerce, Community Team

Link to comment
Share on other sites

Thanks for your help but as I already stated, I tried that and it doesn't seem to work. It still looks for logo.jpg rather than logo.gif. It just doesn't make any sense because the changes get saved and the info is correct in header.php.

 

I can only assume it's taking the logo.jpg address from elsewhere somehow? If so, where?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...