View Full Version : HTML problem

06-22-01, 02:25 PM
hey guys,
i got an HTML question. ok i have a site i am starting to program in HTML. i wanna put an image on the site so i uploaded a file called banner copy.jpg. i put it in the site like this :
<img scr="banner copy.jpg"> . go to this the folowing site. http://www22.brinkster.com/thetst/home notice how the image never appears? wuts up w/ that? some1 help me fix it

AAF Striker
06-22-01, 02:29 PM
Make sure banner copy.jpg is in the /home directory and change your image to <img src="banner copy.jpg"> ... or if the image is located somewhere else on the server, you may want to include the full path to it. But, you keep putting scr instead of src ...

06-22-01, 02:38 PM
Generally this happens when the image is not stored in the folder the web stuff is. In other words, your web page is pointing to file where the image is not saved.

keep all web pages am image in the same folder

06-22-01, 03:48 PM
You cannot have any spaces in a file name.
Rename your image to bannercopy or banner_copy aor banner_copy and re-upload it, or else FTP to your site &v rename the copy that's on the server. Then change your code to reflect the change and re-upload the html document.

<img scr="banner copy.jpg"> oooooooops! Should be src

06-22-01, 03:56 PM
sundog, you are not allowed to have spaces. take the space out from banner copy and make it banner_copy or bannerCopy. you get me? if you leave the space there you'll have to link it as banner%20copy. got it?

06-22-01, 03:57 PM
oh yes.. and it's not scr like he said.. it's src :-)

06-25-01, 08:16 PM
lol ty guys, i didnt realize i wuz puttn scr instead of src. but the file name is banner copy.jpg with a space. shood i rename the file or just close the space anyway?

06-25-01, 08:26 PM
You must rename the file AND redo the html in the page to match what you renamed the file to.

06-25-01, 08:56 PM
Right no spaces, and the scr problem is all what I found. So I got bored and ran all the stuff in Dreamweaver, add's some numbers instead of the "red" area so it's true html, and changed banner copy.jpg to bannercopy.jpg here's the source feel free to copy it. Peace:2cool:

<title>*tSt* Delta Force LW Squad</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<body bgcolor="#FFFFFF">
<img src="bannercopy.jpg"> <font color="#FF0033">Welcome to the *tSt* Homepage.
We are a very new DFLW squad. Please check out all of the links and enjoy your

06-25-01, 10:42 PM
I thought I explained that to ya. close the space up :-)