T Troubledyouth In Runtime Messages 123 Jun 7, 2005 #1 how to you do absolute and relative referencing in html(ie getting a picture to load on a page that is saved in a different folder but the folder is just down the file tree a little bit more.
how to you do absolute and relative referencing in html(ie getting a picture to load on a page that is saved in a different folder but the folder is just down the file tree a little bit more.
B bla!! Daemon Poster Messages 1,118 Location /usr/root/mn/us Jun 7, 2005 #2 You can put the path the the picture in the <img> tag. For example, my page is in the home directory of the webpage, but my picture is in the images folder, the tag would look like this You can go in as many directories as you want.
You can put the path the the picture in the <img> tag. For example, my page is in the home directory of the webpage, but my picture is in the images folder, the tag would look like this You can go in as many directories as you want.
F furtivefelon In Runtime Messages 479 Jun 7, 2005 #3 always use absolute reference, as it perserves the linked file even if you changed the dir structure use: http://yourdomain.tld/yourfolder/yourfile
always use absolute reference, as it perserves the linked file even if you changed the dir structure use: http://yourdomain.tld/yourfolder/yourfile
I Iron_Cross Daemon Poster Messages 549 Location Bamberg, Germany Jun 7, 2005 #4 I think you can also use: Code: <img src="../somefolder/someimage" The tree for that example is like this: Code: somebasefolder | --somefolder | | | --someimage.jpg | --folderofhtml | --the html file you're using.html The "../" means go back one folder. Test it to make sure, but I think that works.
I think you can also use: Code: <img src="../somefolder/someimage" The tree for that example is like this: Code: somebasefolder | --somefolder | | | --someimage.jpg | --folderofhtml | --the html file you're using.html The "../" means go back one folder. Test it to make sure, but I think that works.