Results 1 to 5 of 5

Thread: Images don't show up online but work fine locally

  1. #1
    Join Date
    Mar 2009
    Posts
    12
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Images don't show up online but work fine locally

    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:

    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.
    Last edited by Snookerman; 04-21-2009 at 09:36 AM. Reason: added [code] tags (thetestingsite) fixed title and added "Resolved" prefix (Snookerman)

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    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.

  3. #3
    Join Date
    Apr 2009
    Location
    Cognac, France
    Posts
    400
    Thanks
    2
    Thanked 57 Times in 57 Posts

    Default

    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

  4. #4
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default

    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.

  5. #5
    Join Date
    Mar 2009
    Posts
    12
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •