English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have been creating a website using html but it cant display my images. I have tried to do this
and this and also this .
Am using Mozilla firefox, please, somebody help me, am over due the given time. please help.

2006-08-02 04:38:00 · 8 answers · asked by Bels 1 in Computers & Internet Programming & Design

8 answers

create a relative link to the image from the page you are on.

1. save your HTML page in a folder called HTML and you should create a folder inside that HTML folder called IMAGES, keep all your images in there.
2. in the tag in your HTML page, have a link to the image in the IMAGES folder.

your img tag should look like this:

this is an image

2006-08-02 04:47:01 · answer #1 · answered by kenhallonthenet 5 · 2 2

OK, If you are previewing the webpage on your computer locally (which seems right by question) then you are using WRONG SYNTAX!!!

See here,

height=200>

Now you are not using the "file:" thing and you are using a forward slash "/" instead of backslash "\".

Copy the above syntax and use it for your own.

For Viewing the Image anywhere online you need to host the image online somewhere first then use it's path in the syntax as;

width="33" height="32">

OK I'm getting late. Take Care.

2006-08-02 12:01:02 · answer #2 · answered by cosmic.lion 2 · 0 0

You need to create a directory structure on your server (where all your HTML files are stored). Create a directory and call it images. Chances are your HTML files are stored in a public-html directory, so make your 'images' directory there.

Design your webpage and where you want an image, it would then be NOTE: that the width and height must be corrected to reflect the dimensions of your actual image.)

2006-08-02 11:47:05 · answer #3 · answered by DianeD 4 · 0 0

is the file that you are putting these in on your local system or on a web server? If they are on the web server, the images need to be uploaded and you need to use the proper urls as the src.

2006-08-02 12:15:43 · answer #4 · answered by John J 6 · 0 0

If the IMAGE SRC is linked to the "C:\blah..." address, it will look on the Hard drive of each individual user. You need to put the image on the server and do the image source to "HTTP://web.site.address/pic.jpg" instead of "FILE://My/local/file/pic.jpg"

2006-08-02 15:09:47 · answer #5 · answered by Richard H 7 · 0 0

if you want to use the image on the internet, it has to be HOSTED on the internet.

No web page can display an image form your computer.. well.. unless you are previewing the page you are designing.. but no one else can see it.

try http://www.photobuket.com for image hosting....
I like them because they actually give you the code you need.

2006-08-02 11:41:40 · answer #6 · answered by zeropointe01 3 · 0 0

You need to host your images online.

2006-08-02 11:40:53 · answer #7 · answered by Dillon R 2 · 0 0

take it off your c drive and put it on a cd or or thumbdrive

2006-08-02 11:40:51 · answer #8 · answered by Ty W 2 · 0 0

fedest.com, questions and answers