Click to See Complete Forum and Search --> : Need Help With Images


TeffyRoze
04-01-2005, 10:26 AM
Hi. I am new to HTML coding and I have figured out pretty much everything since reading HTMLgoodies and after viewing a few pages by clicking VIEW and going to SOURCE. So I know how to do pretty much everything except my images aren't working.

I got my banner/heading from flamingtext.com. When I first tried using it on my site I used <IMG SRC="sitelogo.jpg"> - but that didn't work. A little red 'x' appeared. So, I read the Q and A in the HTMLgoodies Newsletter. Found another way to write it since it's in My Pictures folder in My Documents. I tried <IMG SRC="My Pictures/sitelogo.jpg"> - and that didn't work.

Then I tried right clicking my picture that I was wanting to use. Found the location and used that. Again. A little red 'x' appeared. I am fairly new but feel dumb not being able to figure out how to place an image on my site.

Not being able to use the banner I got from flamingtext.com because that little 'x' keeps appearing. I tried a .gif image that I got from a image gallery on a site like Geocities.com and Angelfire.com but - again that didn't work.

I have no idea what I am doing wrong...and if someone could help me out with my problem..I would greatly appreciate it! :D

->TeffyRoze<-

kin
04-01-2005, 10:45 AM
TeffyRoze,

It sounds like the browser isn't finding the picture you're pointing it to. If you've uploaded your page to a server, remember to upload the picture too, and then you can enter the image source.

If you haven't uploaded your page yet and it's still on your computer while you're developing it, you need to enter the source as it relates to the page your folder is in. I recomend making a folder for your page on yoru desktop. Put your picture in that folder along with your html file. Then you will only have to enter <IMG SRC="sitelogo.jpg"> to get your picture.

Hope that helps!

TeffyRoze
04-01-2005, 10:53 AM
Thanks for the help. Actually before you posted that I was messing around at flamingtext.com and I found this FTP thing and I've seen it all over htmlgoodies so I clicked it and found the link for the image and now it works...but thanks for the help - greatly appreciated!! :D

GageEndal
04-01-2005, 01:52 PM
I would suggest getting an HTML Editor of some sort. There are a lot of freeware products that are very good (HTML Kit and Aardvark are the two I use). It might not be something of an investment for you, but DreamWeaver is always there also.

I only suggest these programs because new HTML editors are still learning the rules of how things work and these programs are very good at getting the things you need done very quickly. Images are one of those pesky things that always take a while to get used to, just remember the basic rules. Keep everything undercase and never use a space (I don't even use underscore if I'm able to).

As for where your image is, I'm not 100%. You said you were trying to point to your documents, usualy that would mean that your html file is saved somewhere else. When you are telling the page where your source file is located (src) you are giving it the address of where to find it. If the file is in the parent (same) directory as your website you just link directly to it. If it's in a child folder you just link the folder as well. If the image is in a parent directory of your html file, you might want to move the html file. Problems always come up if you are targeting back to get an image.