Log in

View Full Version : Image not appearing when site online [CODE]



Goose8907
09-21-2010, 06:32 PM
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

bluewalrus
09-21-2010, 06:42 PM
You're calling it locally (from your HD) not from the server. Change:



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

to


<img src="East_Sussex__Draughts_Association.GIF">

[Nicolas]
09-22-2010, 01:50 AM
And there's no Space between Height"50" and Border"0"... :) ;)

Goose8907
09-22-2010, 06:29 PM
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

bluewalrus
09-22-2010, 07:05 PM
You're calling it locally (from your HD) not from the server. Change:



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

to


<img src="East_Sussex__Draughts_Association.GIF">


This is still your problem.

Goose8907
09-23-2010, 06:11 PM
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!

Goose8907
09-23-2010, 07:28 PM
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