Forum Moderators: open

Message Too Old, No Replies

Firefox does not open images in subfolders

         

hexdj

7:26 pm on Aug 18, 2005 (gmt 0)

10+ Year Member



I have built a few pages now that load images from a folder that's within the root of my website (called "images\") the images get loaded perfectly in IE but for some reason FFox only loads them if they're in the same folder as the HTML that loads them, is there any particular reason for FF to act that that way? what can I do to get around that behavior?

I like having my files organized and I would really like to keep my images in a separate folder.

encyclo

7:33 pm on Aug 18, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What does your image link look like, hexdj? From the examle you gave, it looks like you are using back-slashes - \ - instead of normal slashes. Your image paths should look like this:

<img src="[b]/images/image-name.jpg[/b]" alt="alt text">

hexdj

7:47 pm on Aug 18, 2005 (gmt 0)

10+ Year Member



I am actually not using slashes
just plain like this:

href="images\banner.gif"

encyclo

7:49 pm on Aug 18, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



href="images\banner.gif"

That is what I'm saying: it needs to be a forward-slash, not a backward one:

href="images/banner.gif"

Backslashes are within Windows, not on the web. :)