Help with publishing picture in HTML

Kippiee

New member
Joined
Jan 14, 2009
Messages
3
Hi,

I'm just trying to put some pictures on my website using index.html
If i go to my website at my computer i can see al the pictures.. but nobody else can on their computers...

Help anyone??:(:o
 
That is because the src tag for the image is referencing the picture on your own hard drive instead of the server. If you look at the source code you will see something like this:

Code:
<img src="file:///C:/webpages/images/mypic.gif">

Give us the web site for further help. Without it we are just guessing.

And by the way this topic is really for an html forum not a DirectAdmin forum since it has nothing at all to do with DirectAdmin.
 
Your problem is not exactly what I thought it was but close.

Your html code:

Code:
<img src="http://84.244.158.43:2222/CMD_FILE_MANAGER/domains/solph.nl/public_html/Fem2009%20promoshirt_.JPG">

Why are you trying to get the image from the control panel?

Sounds like you need some basic html instruction.
 
i don't know.. someone told me to do it like this...
Probably that someone was verry wrong :mad:

I just know the codes.. that's all...

but i will go read the basics than..

thanks for youre help anyway
 
Typically...

Typically on your site you would create a folder usually "images" then you would upload your pictures to that folder and then use
<img src="http://yoursite.com/images/mypic.gif">
Of course there are variations on this but the folder helps keep everything "behind the scenes" neat and easy to work on.
 
You don't even have to use the full url:

Code:
<img src="images/mypic.gif">
 
In fact you probably should NOT use the full URL; it will take longer to render on the site.

Jeff
 
Back
Top