Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New image in header only displays as red cross


derbytrader

Recommended Posts

Right, not 100% sure how to do that. Without expecting you to code my site I've included the code which successfully displays logo.gif.

 

I want to change the code to display another gif file instead of logo.gif.

 

Apart from changing the gif files name, where and what would I put to display another gif file. Secondly how do I determine the width and height.

 

<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.gif', 'trust in a bottle') . '</a>'; ?></td>

Link to comment
Share on other sites

Its showing fine Adrian :-)

Job done!

To find out your version go to Admin / tools / server info. it will say at the top

Nic

Nic

 

unfortunately, the version you saw was the working version without the change of gif image. As my previous response above, I've left it in its 'unworking' state.

 

I guess I'm running milestone as it says osCommerce 2.2-MS2

 

Adrian

Link to comment
Share on other sites

I called the image from http://www.trustinabottle.co.uk/images/tru...abottleonly.gif

it comes up as a broken link i Chrome.

You sure its uploaded?

And the name is exactly the same as trustinabottleonly.gif

Nic

 

I really shouldn't be let loose on this techy stuff! Needless to say the name wasn't exactly as above, but TrustInABottleonly.GIF: what a difference a few capitals make.

 

Have a nosey now and you should see the difference.

 

Thanks for your input Nic

Adrian

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...