Log in

View Full Version : Resolved Images don't show up online but work fine locally



Rachele7
04-20-2009, 12:20 PM
Hello,

I've created a page with some images and when i tested it on my local PC it worked fine but when i upload the page, the images don't come up. Below is the code:



<table cellspacing="8">
<tr>
<td class="text">
<a target="_blank" href="http://www.website.co.uk" title="Click to launch website.co.uk (page opens in a new window)" style="text-decoration:none" rel="nofollow">
website limited</a></td>

<td class="text">
<a target="_blank" href="http://www.website2.co.uk" title="Click to launch website2.co.uk (page opens in a new window)" style="text-decoration:none" rel="nofollow">
website2 limited</a></td>

<td class="text">
<a target="_blank" href="http://www.website3.co.uk/" title="Click to launch website3.co.uk (page opens in a new window)" style="text-decoration:none" rel="nofollow">
website3 limited</a></td>
</tr>

<tr>
<td class="imagebox">
<a href="http://www.website.co.uk" target="_blank" title="Click to launch website.co.uk (page opens in a new window)">
<img alt="website limited" src="photos/sample/website.PNG" /></a></td>

<td class="imagebox">
<a href="http://www.website2.co.uk" target="_blank" title="Click to launch website2.co.uk (page opens in a new window)">
<img alt="website2 limited" src="photos/sample/website2.PNG" /></a></td>
<td class="imagebox">

<a href="http://www.website3.co.uk" target="_blank" title="Click to launch website3.co.uk (page opens in a new window)">
<img alt="website3" src="photos/sample/website3.PNG" /></a></td>
</tr>

</table>


Thanks.

Snookerman
04-20-2009, 12:24 PM
Please post a link to the page on your site that contains the problematic script or attach your code so we can check it out and help you.

forum_amnesiac
04-20-2009, 12:42 PM
I agree with Snookerman, lets see the problem site and code.

The normal reason for the behaviour is that you have the images on you PC/localhost, but either not on your remote server or not in the right place on your remote server

Schmoopy
04-20-2009, 12:46 PM
I imagine it's because you have your files named "bla/bla/image.JPG", make sure you put the extension in lower case, as they are case sensitive and you will get a 404 error if you keep it like that. Try changing the extensions to lower case and see what happens.

Rachele7
04-20-2009, 01:13 PM
Thanks everyone for the assist.

It's working now. Very strange but all i did was delete and then re-write this bit
"<a href="http://www.website2.co.uk" target="_blank" title="Click to launch website2.co.uk (page opens in a new window)">"

I dont get it but its working now.

Thanks again for all your help.