Advanced Search

Results 1 to 7 of 7

Thread: Image not appearing when site online [CODE]

  1. #1
    Join Date
    Sep 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Image not appearing when site online [CODE]

    Hello

    I'm attempting to put an image via html onto a site.

    When i view the site before putting it online the images appear but when i put it through the FTP software and the site goes online it appears with the red cross in the top left (although the link within the image works).

    This is thw coding I have used

    <b><a href="http://www.chesskids.com/draughts/draughts.htm"><img src="checkers.JPG" width="50" height="50"border="0">Chesskids</a></b>

    The image is in the same directory as all the other files for the site so as far as I am aware shouldn't need the path amending but I don't know if I'm missing something.

    Any help would be appreciated. The site is www.esda.comule.com and everything else seems to be fine except when I go to the links page and the images do not appear.

    Regards

    Goose8907

  2. #2
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    You're calling it locally (from your HD) not from the server. Change:

    Code:
    <img src="C:\Users\Home\Documents\East_Sussex__Draughts_Association.GIF">
    to

    Code:
    <img src="East_Sussex__Draughts_Association.GIF">
    Corrections to my coding/thoughts welcome.

  3. #3
    Join Date
    Sep 2010
    Location
    Hi Stalker.
    Posts
    148
    Thanks
    16
    Thanked 3 Times in 3 Posts

    Default

    And there's no Space between Height"50" and Border"0"...

  4. #4
    Join Date
    Sep 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks for the quick responses. It's resolved the initial problem and the image I want appears. Unfortunatly I;ve tried to apply it to further images but these are not appearing (red crosses again). I've checked the code against the advice given and can't see where I've gone wrong.

    <b><a href="http://thinks.com/java/checkers/checkers.htm"><img src="checkers.JPG" width="50"

    Am I missing something? I've got the image in the correct place for it to be located and the same process has been followed that worked before.

    Regards

    Goose8907

  5. #5
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    Quote Originally Posted by bluewalrus View Post
    You're calling it locally (from your HD) not from the server. Change:

    Code:
    <img src="C:\Users\Home\Documents\East_Sussex__Draughts_Association.GIF">
    to

    Code:
    <img src="East_Sussex__Draughts_Association.GIF">
    This is still your problem.
    Corrections to my coding/thoughts welcome.

  6. #6
    Join Date
    Sep 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ok, I've amended as suggested and changed all teh images to pull from the server as apposed to locally (sorry I didn't see that before!). I've got all the images uploaded the same as the pages via my FTP software but I'm still only seeing red crosses.

    I'm sure there's something that I'm being stupid about but I just can't see it.

    www.esda.comule.com is page and also images on the links page. Everything else I can get to work jsut how I want it except these images!

  7. #7
    Join Date
    Sep 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    It's ok I've solved it, I had GIF when it should have been gif! Something so simple has taken days to resolve.

    Thanks for all your assistance.

    Goose8907

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
  •