Forum Moderators: open

Message Too Old, No Replies

can't acces local files in FF

         

helmus

5:34 pm on Oct 8, 2006 (gmt 0)

10+ Year Member



hello, i've been stuck on this for a couple a days now

i have this code, it works fine in IE, it doesn't show anything at all in FF.

i use windows XP profesionel


<img src="file:///C:/Foto1.jpg" id='prev'>

JAB Creations

9:44 pm on Oct 8, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Open the image in Firefox by using the File --> Open File method. Once you see the image (assuming Windows does not override Firefox and force it to open in some other program) right click and copy the URL from the address bar and paste it over that.

Correct XHTML version of what you're trying to do...

<img alt="" id="prev" src="file:///C:/Foto1.jpg" title="" />

However if your page is in the same directory just do this..

<img alt="" id="prev" src="Foto1.jpg" title="" />

I also advise against using uppercase for anything other then properly named files intended for right-click and save downloads.

- John