rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: GarLo on December 24, 2006, 07:52:20 PM
-
I just want to add images to my pages and it seems that I am either a complete NOOB or I am having a brain cramp. :o :'(
I have tried several ways to accomplish this:
1-made an image folder and pointed to images there i.e: <img source="/img/some pic">
2-tried to use from root i.e: <img source="some image">
3-tried using /~some image tag and that didn't work either
Where - Oh Where! - am I going wrong here.......... [the bitch of it is - I can code HTML from memory] ???
Any pointer would be appreciated..........
Kindest Regards:
GarLo
-
Try: <img src="... pic ..."></img> (not img source)
-
try this and you will understand how to do it
as you said before:
-make a image folder ( img or image, or anything else)
-put images inside it
and to put this image on the page generated by the hfs do this:
browse your own hfs
http://localhost:port
browse to your image folder
you will get a url like this one
http://localhost:port/SOME-FOLDER/
and now do right-click on the image file you want to show
copy its url on firefox it is named "copy link" and on the internet explorer "copy shortcut"
and inside the template editor of the hfs past this code
<img src="XXXXXX" />
if you copyed a link like this
http://localhost:2222/image.jpg
just past it on the img tag <img src="XXXXXX" /> replacing the X with your url, but without the root address of your server( http://localhost:2222 ) , and it will be like this:
<img src="/image.jpg" />
-
i guess you just forgot to put the images themselves inside HFS