Welcome to WebmasterWorld Guest from 54.226.130.194

Forum Moderators: open

Message Too Old, No Replies

Firefox and Opera not showing local images

     

jerryxh

1:49 pm on Jul 10, 2006 (gmt 0)

5+ Year Member



Latest versions of Firefox and Opera:

I am calling an image embedded in an html page from the local file system like this:

<img src="file:///c:/image.jpg" border="0">

and the image is not showing on the page!

It does display in IE and Netscape. Firefox and Opera will both display the image if i just put file:///c:/image.jpg
directly into the address bar.

Does anyone know what is wrong?

navjotpawera

6:53 am on Jul 11, 2006 (gmt 0)

5+ Year Member



Works for me in Opera, IE and FF
using - <img src="file:///c:/image.jpg" border="0">

Can you post more info?

jerryxh

1:04 pm on Jul 11, 2006 (gmt 0)

5+ Year Member



It works for me to if you save the html file on your local system and open it as a file from the browser. It does not work when the html file is sitting on a remote server.

tedster

4:40 pm on Jul 11, 2006 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



It does not work when the html file is sitting on a remote server.

Unless I misunderstand you, that would mean the path to the image is being calculated as local to the remote machine -- not just the server application on the machine, but the entire machine.