how can I put pictures on my site?

Status
Not open for further replies.

laupkram

New Member
Messages
32
Reaction score
0
Points
0
I am just wonder how I can put pictures on my web pages, I had successfully uploaded the pictures I needed but how can I put it on the pages, I had tried many ways like following the right URL on my file manager... example like this <p><img border="0" src="http://theperpetualitep.x10hosting.com/home/laupkram/tp.jpg" width="903" height="160"></p>?
 

Anna

I am just me
Staff member
Messages
11,765
Reaction score
589
Points
113
<p><img border="0" src="./tp.jpg" width="903" height="160"></p>

by the look of your code that should be the right way, IF the picture is in the same file as the htm document you want the picture to show in.
 

laupkram

New Member
Messages
32
Reaction score
0
Points
0
I don't just get it... can you explain it more further... I move the picture on the same folder where the html is
 

nigel91

New Member
Messages
43
Reaction score
0
Points
0
put

<base href="http://theperpetualitep.x10hosting.com/">in the head, and then for the image URL put: laupkram/tp.jpg if the file where you are linking it is in the home directory
 

jdpalmer

New Member
Messages
12
Reaction score
0
Points
0
If your picture is in the same directory as the htm file requesting it, the source is just the image name. For instance, <img src="tp.jpg"> A request automatically looks in the "current" directory. If you store your pictures in a "pics" folder within the folder of the htm file, the source would be "pics/tp.jpg". Hope this helps.
 

laupkram

New Member
Messages
32
Reaction score
0
Points
0
I put the tp.jpg in my public_html folder where the html requesting for the image is there but still it doesn't work please I need some help:dunno:
 

Whiteyb3

New Member
Messages
6
Reaction score
0
Points
0
<img src="IMAGENAME.EXTENSION" border="0" />
Edit:
By the way, You dont need the /home/laukram in your url, since that is not accessible by HTTP.
 
Last edited:
Status
Not open for further replies.
Top