Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

FRONT PAGE LOGO


sammy-jo

Recommended Posts

:( HI, when i try to upload my logo on to the front page all i get is a box with a red cross, what format does my image need to be in before i upload it to the website. i have tried jpeg and tif, and no joy!!

 

sam

Link to comment
Share on other sites

:( HI, when i try to upload my logo on to the front page all i get is a box with a red cross, what format does my image need to be in before i upload it to the website. i have tried jpeg and tif, and no joy!!

 

sam

jpg is fine, you can also use gif as its a smaller file format but not as high resolution.

 

Make sure you header.php file includes the correct <img src=.....> and make sure the file has global read permissions.

 

Try accessing the file directly to confirm that the webserver has permissions to serve the file.

 

http://www.yourdomain.com/images/imagefilename.ext

Dont forget to Search. Your problem has already been fixed before.<br>

Please visit Manchester-Fireworks.com.

Link to comment
Share on other sites

jpg is fine, you can also use gif as its a smaller file format but not as high resolution.

 

Make sure you header.php file includes the correct <img src=.....> and make sure the file has global read permissions. 

 

Try accessing the file directly to confirm that the webserver has permissions to serve the file.

 

http://www.yourdomain.com/images/imagefilename.ext

 

 

okay thanx but what does <img src=.....> mean??

Link to comment
Share on other sites

okay thanx but what does <img src=.....> mean??

In your header.php file you should have the following line

 

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

 

This tells teh website to use oscommerce.gif as the default logo. This should be updated with the name of your new site logo (and alt text).

 

PM me your URL if you want me to see what the current image name is set to.

Dont forget to Search. Your problem has already been fixed before.<br>

Please visit Manchester-Fireworks.com.

Link to comment
Share on other sites

"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'SAMMY.TIF', 'GetYourInk') . '</a>'; ?></td>

 

this is what its set to

 

http://www.getyourink.com/catalog/images/SAMMY.TIF returns a file not found (404) error.

 

You are allowing folder browsing of your image folder, this should be disabled asap.

 

But it does help with your problem ;)

 

tep_image(DIR_WS_IMAGES . 'SAMMY-LOGO.jpg', 'GetYourInk')

Or

tep_image(DIR_WS_IMAGES . 'SAM%20NEW%20LOGO.jpg', 'GetYourInk')

 

should fix the problem.

 

Unix servers require CaSe SeNsItIvE filenames.

Dont forget to Search. Your problem has already been fixed before.<br>

Please visit Manchester-Fireworks.com.

Link to comment
Share on other sites

"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'SAMMY-LOGO.JPG', 'GetYourInk') . '</a>'; ?></td>

 

Hve changed to this however still not working, how do i disable browsing????

Link to comment
Share on other sites

"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'SAMMY-LOGO.JPG', 'GetYourInk') . '</a>'; ?></td>

 

Hve changed to this however still not working, how do i disable browsing????

 

.jpg not .JPG. the file has the extension in lower case.

Dont forget to Search. Your problem has already been fixed before.<br>

Please visit Manchester-Fireworks.com.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...