Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

banner not displaying


gandhi

Recommended Posts

Posted

http://brewrecords.net/shop/

 

I've uploaded my banner to my ftp and changed the coding accordingly...

 

<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 . [color=#FF0000]'/shop/images/brewrecordslogosmall.gif'[/color], STORE_NAME) . '</a>'; ?></td>
<td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>  <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>  <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>  </td>
 </tr>
</table>

 

however the banner is not displaying....

 

anyone got any advice?

 

cheers!

Posted

Not an expert by any means but your image appears to be in the wrong place, the image properties are showing as;

 

http://brewrecords.net/shop/images//shop/i...dslogosmall.gif

 

It should be

 

http://brewrecords.net/shop/images/brewrecordslogosmall.gif

 

Upload the image again to the images folder so the path is shop/images/brewrecordslogosmall.gif

 

Your code in includes/header.php should be

 

<?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'brewrecordslogosmall.gif.gif', 'your alt text') . '</a>'; ?>

Posted

nice one got it working

 

http://brewrecords.net/shop/

 

however my logo is too far in the corner, is there some coding it make it look a bit better or would you recommend creating a new logo with a bit of an extra white border?

 

cheers,

 

tom

Archived

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

×
×
  • Create New...