Shoutbox

ftp/html problems! - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: ftp/html problems! (/showthread.php?tid=63852)

ftp/html problems! by welshboy222 on 07-23-2006 at 02:43 PM

When I put my web pages on a server using an ftp client. I have a main folder on it called your-games and in that is the index page, images folder and a subfolder called dala. In the dala folder I have other web pages and another images folder. The problem is that on all the pages in dala I cant get any images. I have linked the images to the images folder using images/picture.jpg is this right or should I use the images folder on the main folder? How do I fix this problem?? Can you help???


RE: ftp/html problems! by foaly on 07-23-2006 at 02:47 PM

you could try complete linking...
for example:
http://www.mywebpage/your-games/images/picture.png

but if images is a subfolder of your main map you shoul be able to use /images/pictures.png also...


RE: ftp/html problems! by Sunshine on 07-23-2006 at 03:07 PM

If you need to link to a subfolder of the root when you are in a subfolder you use ../images/image.png. Providing the image folder is a subfolder of one folder up in the tree this should work. Yeah yeah sounds complicated like this..let me try explain differently:

root > images
root > data, images

root is the main folder in wich your website starts...

Now you want to link to root/images/image.png from a page in root/data: use ../images/image.png (../ indicates one folder up)

If the image folder is in the same folder as your page (the page you are linking in) then images/image.png will work

If these fail put in the complete link as foaly explained.


RE: ftp/html problems! by welshboy222 on 07-24-2006 at 06:31 AM

Always helpful Sunshine thanks!