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

Ok, well I haven't been doing html very long, and I know the basics. But I want to put an image up on my page now. I know you use but how exactly do I use a picture thats already on my computer? I'm not using a link to a website picture. I want to put up one of my own pictures from my own pc. Do I have to upload the image to my server first? Or how do I do this? Please help me.

2007-09-24 03:55:46 · 5 answers · asked by EndOfDays 1 in Computers & Internet Programming & Design

5 answers

there a million sites
but i use http://photobucket.com/

2007-09-24 04:07:30 · answer #1 · answered by JavaScript_Junkie 6 · 1 0

You DEFINITELY have to move a copy of your picture from your computer to the website! Then, if it's in the same "directory" as the html file, you can use "img src="...whateverthenameof the file is" etc.

You do it in the same way that you got your html up to the server (FTP). (Unless YOUR computer is a server.) That's the way the website gets "served up" to everyone who wants a taste. If you didn't have it on the server, then the server would have to know the ABSOLUTE GUARANTEED (IP) address of YOUR COMPUTER and you'd have to leave YOUR COMPUTER TURNED ON AT ALL TIMES and GUARANTEE that YOUR COMPUTER knew how to respond effectively and efficiently to each and every darned request (even if it was two at once from two folks viewing the website at the same time or nearly so)...see?

2007-09-24 04:49:51 · answer #2 · answered by fjpoblam 7 · 0 0

if that is a webpage that you own, then u need to upload this pic from ur harddisk to that site. There might be several ways to do this. If you are paying for page authoring etc, then u might hv a tool that is used to upload,download files and images to specific folders. Or on your home page where u can manage file, u shud hv an upload option.

2007-09-24 04:03:06 · answer #3 · answered by Cant stop thinking 4 · 0 0

*First of all, Upload the image to your site, the picture must be an JPG, GIF or PNG for compatibility, if it's BMP, TIFF, or any other, please try converting it first.
*Second, The image needs to be uploaded to a public directory, lets say, the same folder your page is. Example: if your filename is: index.html and you upload this to the directory named "www", the image (image.jpg) needs to be uploaded to "www" too. So, your should look like this: .
Now, if you want, you can organize your images in a directory named "images", this needs to be at your "www" directory.
So, then you upload "image.jpg" to "www/images"
and you can get the image by any of the following:
****



The one marked by **** uses "." before "/", this means, your "images" directory is inside the same directory your "index.html" file.

Ohh, and please, DON'T EVER put something like:

This will work on your computer, but NEVER on the web.

2007-09-24 04:15:10 · answer #4 · answered by kuvrio 3 · 1 0

Yes, you need to upload it to your server first. The image must be public... nobody but you can access your hard drive... at least that's the way it's supposed to be.

2007-09-24 04:04:30 · answer #5 · answered by polly_peptide 5 · 0 0

fedest.com, questions and answers