Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Logo Not showing Up


mkdesigns

Recommended Posts

I am having one heck of a time getting my logo to show up. It was fine and then I done a little improvements to my logo and uploaded the new image to my site. For some reason now it won't show up... here is the code for that part. Any suggestions would be greatly appreciated. Thanks!

 

<table align="center" border="0" width="895"><tr><td>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr class="header">
   <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'logo.jpg', 'Paiging Joy') . '</a>'; ?></td>
<?php
// added for loginbox
 if ( (basename($PHP_SELF) != FILENAME_LOGIN) && (basename($PHP_SELF) !=  FILENAME_CREATE_ACCOUNT) && !tep_session_is_registered('customer_id')) { 
 if (!tep_session_is_registered('customer_id')) {
?>

Link to comment
Share on other sites

You used the same format (JPEG, GIF, PNG, etc.) and the exact same name, and uploaded it to the exact same place? What kind of error are you getting? That it can't find the file at all, or it's showing the old image, or it's unable to display the image due an error, or something else? Can you call up the image all by itself in your browser, and it displays OK? If you're seeing an older image, clear your browser cache.

Link to comment
Share on other sites

No, when I try to bring up the image by itself it is just giving me the url in place of the image. And when I bring up my index page, it just shows the store name in place of the image. And yes, same name, saved same place. And it came up fine before. Thanks!

Link to comment
Share on other sites

Any chance you uploaded your new image as ASCII (text) rather than binary? If the image displays OK on your PC, that's the most likely cause. Also, did you edit this image in the same way as the previous one? Some editors may save a JPEG image in a format (CMYK or HSV) that some browsers can't handle. If you can display the image on your PC (load local file) successfully, using the same browser as you access the site with, that's probably not the cause.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...