images don't appear!

windows

Guest
i am just beginning to write html. everything is working ok except the browser msexplorer won't pick up the images. i am writing on word pad and have tried using <img src=http://www.webdeveloper.com/forum/archive/index.php/"address"> and also object off the insert menu. i save in text only and if i put the html suffix it automatically generates a msexplorer document also-- without any images. they are in the same folder, however it is a sub folder of the my pictures folder. does anybody know what i should do?<br />
<br />
thanks bunches!<!--content-->It sounds like you have omitted the extension from the image file - your example had the filename "address" but it is more likely "address.gif" or "address.jpg". Find out what type of file it is and add the appropriate extension.<br />
<br />
Adam<!--content-->thanks adam for your reply-- but it's not that, i put the file type suffix on, jpeg and jpg and several other tries. it doesn't find it-- the word pad is arabic enabled and i have trouble with it jumping back and forth sometimes, do you think that might be the problem?<br />
<br />
thanks,<br />
june<!--content-->If you can not see the images and there are no error messages, usually means that the path to the images is wrong.<br />
Show us the script.<!--content-->thanks fang-- must be the word pad because now i can't find the documents. do you know anything about the arabic enabled set up that might be wrong-- like i said it wants to stay in arabic and put everything left margin. will get back with you tomorrow re script, insha'allah.<br />
thanks again.<!--content-->here is the script- this time i used word and saved in text format with htm file suffix and the image jpg suffix. both items on the desktop and the image doesn't appear.<br />
<br />
<HTML><TITLE>my first try again</TITLE><br />
<CENTER><H1>LEAVING IT ALL BEHIND</H><br />
<IMG SRC=http://www.webdeveloper.com/forum/archive/index.php/"PIC1.JPG"><br />
<P> <FONT SIZE="+3"> So let's see if this works! </FONT><br />
</HTML><br />
<br />
thanks!<br />
june<!--content-->Hi, june...<br />
just a double-check....is the exact name of your image <br />
PIC1.JPG<br />
all uppercase letters?<!--content-->Well I copy/pasted the very code you posted into Notepad, simply replaced the picture name with one that it relevent to what is on my hard drive. And it worked no problem.<br />
<br />
I think it is to picture reference that might be off.<!--content-->and is PIC1.JPG in the same folder as your html file?<!--content-->I think what we are trying to get at is A) Is the name of your image in capital letters to begin with and B) Are your images stored in a subfolder.<br />
<br />
I had that problem once and it didn't dawn on me that the filenames all have to be lowercase..then I had forgotten to add the directory name to the src tag...so it would be something like: <img src=http://www.webdeveloper.com/forum/archive/index.php/"images/pic1jpg"> whereas "images" is the possible name of the folder you store your images in as you design the page.<!--content-->thanks for all the input-- the images still don't come. i've tried with the two files, text and image, on the desktop, and with them both in the same subfolder (without directory info). the file names are all in lower case letters. i've tried on the two different systems we have on this computer, windows me and xp. i've tried using a close flag on the image.<br />
<br />
when i save the doc off word pad if i give it the suffix html it automatically generates an msexplorer doc, without images. if i save it in text only format, when i come to open it in explorer i get the browse dialogue box and then it opens the source doc in word pad.<br />
<br />
i want to try using the complete address of the image but i can't figure out how to get it (the address) to show completely. E:\Documents and Settings\ffgh\My Documents\My Pictures\gina\wadi jebal\jpgd is what i have, do i just add \imagename.jpg?<br />
<br />
maybe that path is too long? maybe my pictures folder doesn't like to have docs in it?<br />
<br />
i'm grateful for any input!<br />
<br />
thanks again.<br />
june<!--content-->use notepad not wordpad.<br />
<br />
<br />
also, you may wish to try an editor like html-kit from <!-- w --><a class="postlink" href="http://www.chami.com">www.chami.com</a><!-- w --> where you can click a button to insert an image. You can then navigate to the file, so it'll definitely get the path right.<br />
<br />
Hope you get the problem fixed<br />
<br />
Dave<!--content-->Originally posted by june <br />
the file names are all in lower case letters. <br />
<br />
Three suggestions:<br />
1. Change the image file name to lower case in your document.<IMG SRC=http://www.webdeveloper.com/forum/archive/index.php/"/pic1.jpg"> <br />
2. Try adding a / to your image tag: <IMG SRC=http://www.webdeveloper.com/forum/archive/index.php/"/pic1.jpg"> <br />
3. Try adding ../ to your image tag: <IMG SRC=http://www.webdeveloper.com/forum/archive/index.php/"../pic1.jpg"> <br />
<br />
Also, just for clarity, save your document with the .htm extension. This does not make it an IE document. It just opens with IE because that's your default .htm file application handler.<!--content-->
 
Back
Top