Click to See Complete Forum and Search --> : Images
Central
11-12-2003, 02:15 PM
Does anyone know why i get blank boxes and a red x when i try to place a jpeg image on my website (as u can tell i am very new to everything)
The image i use is in the same diectory and folder as my index.html file.....and i use this line
<IMG SRC="blue butterfly.jpg">
is it just the way i wrote it?.
Thx
oh and i have my browser set to view images.
gil davis
11-12-2003, 02:22 PM
The red "x" indicates that the image is not on the server (file not found).
Also, many servers do not allow spaces in file names - they usually replace spaces with the underscore ("_") character.
Paul Jr
11-12-2003, 02:57 PM
The underscore is read as a character, thus won't work as a space filler. Replace the space with %20, or just don't use spaces at all.
Central
11-13-2003, 12:42 AM
I tried removing the space and i tried the %20 i still get a red x, dont suppose there could be any other reasons?, it annoys me so much when something this simple wont work, i bet its something stupid i am doing......ok this is an edit, i just removed the pic from the folder it was in and i noticed that the x changed.....when the pic is there its a small box with a red x going from corner to corner, when its not there its a big box with the rex just in the corner, so sry about that, so that means its finding the pic yeah?....but just not displaying it?..
AnacondaAndy
11-15-2003, 10:19 AM
Make sure your image and web page are in the same folder. Also, I don't recomend a space in the .jpg file name it gets to confusing try changing the name of the .jpg file to bluebutterfly.jpg and then change the code to <IMG SRC="bluebutterfly.jpg"> . One otherthing, it is case sesitive...so check that to..:)
Central
11-15-2003, 11:28 PM
Thx for all the replys ppl, turns out i was just stupid :), i had a capital H for the .html part, well lesson learnt :)