hi there... i would just like to ask why my images are not seen in my website... i tried putting this code on my html sheet
<img src = "URL"></img>
is there something wrong with my code?
Lemon Squash
05-15-2003, 10:05 AM
Where it says URL did you put the url of the picture your trying to use?
yup, i wrote the right URL but the only thing that i see is the box with a red X inside it...
Lemon Squash
05-15-2003, 10:32 AM
Are you try to link to an image on a different server?
delete the ending </img> tag.
then check a few things...
1. is the image uploaded and in the correct spot that you have specified in the SRC value for the path?
2. is the SRC value and filename typed exactly the same? spelling and CaSe LeTtErInG is very important.
3. is the ending part (extension) the same too. GIF, gif, Gif, JPG, jpg, Jpg, and so forth. kinda the same as #2.
perhaps if that still does not work, link to the page in question so we can see the problem in action.
phrozein
05-16-2003, 04:11 AM
dont forget to add the "http://" part.
Originally posted by phrozein
dont forget to add the "http://" part.
the http is not required if the image reference is in the same folder or related folder to the calling document.
example...
<img src="mypic.gif">
refers to an image stored in the same folder as the webpage.
<img src="folder1/mypic.gif">
refers to an image stored in a folder named "folder1" which is just off the current folder holding the webpage.
plus many other variations.
one main time when you would refer to an image fully is if it is stored on another server area. but these days, many servers do not allow this type of linking to another server as it is considered as "bandwidth" theft.
of course there are other instances when a full path is required, but that goes beyond the answer required here.
essentially though, you had a good thought about the answer. keep helping with other questions if you can as more help and ideas are always good. thanks.
elfenheroin
05-18-2003, 05:17 AM
Originally posted by maye
<img src = "URL"></img>
maybe it's the spaces if you really did type <img src = "URL"></img> it should be <img src="URL"></img> notice the spaces beside the =