derbytrader Posted September 25, 2008 Share Posted September 25, 2008 After help from FIMBLE (thanks), managed to load new image for header but when I go to my site now it just displays a small box with a red cross in it where the new image should be. Any ideas folks? cheers Link to comment Share on other sites More sharing options...
♥FIMBLE Posted September 25, 2008 Share Posted September 25, 2008 You also need to add the width + height to your tag also border Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
derbytrader Posted September 25, 2008 Author Share Posted September 25, 2008 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 More sharing options...
♥FIMBLE Posted September 25, 2008 Share Posted September 25, 2008 I see, thought you had hard coded it. The easiest way around this would be simply save your logo with the existing image name. store_logo.png if you use 2.2 rca oscommerce.gif if you use 2.2 milestone What is you URL? Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
derbytrader Posted September 25, 2008 Author Share Posted September 25, 2008 www.trustinabottle.co.uk the logo is top left on the homepage Not sure if I'm using 2.2 rca or 2.2 milestone how do I find out? Adrian Link to comment Share on other sites More sharing options...
♥FIMBLE Posted September 25, 2008 Share Posted September 25, 2008 Its showing fine Adrian :-) Job done! To find out your version go to Admin / tools / server info. it will say at the top Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
derbytrader Posted September 25, 2008 Author Share Posted September 25, 2008 Sorry Nic, this is the existing working version without the change to the gif file. I've just changed it back so you can see it not working Adrian Link to comment Share on other sites More sharing options...
derbytrader Posted September 25, 2008 Author Share Posted September 25, 2008 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 More sharing options...
derbytrader Posted September 26, 2008 Author Share Posted September 26, 2008 Any clues appreciated, I've just set it back to the working version but can reset it to the non working version if you need to see. Link to comment Share on other sites More sharing options...
♥FIMBLE Posted September 26, 2008 Share Posted September 26, 2008 Hi Adrian, Yes set it back for a minute i will take a look Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
♥FIMBLE Posted September 26, 2008 Share Posted September 26, 2008 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 Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
derbytrader Posted September 26, 2008 Author Share Posted September 26, 2008 I called the image from http://www.trustinabottle.co.uk/images/tru...abottleonly.gifit 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 More sharing options...
♥FIMBLE Posted September 26, 2008 Share Posted September 26, 2008 Yes it shows now, well done :-) Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.