Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Firefox image display issue on an Intranet

9:11 pm on May 22, 2007 (gmt 0)

New User

10+ Year Member

joined:May 22, 2007
votes: 0


I'm developing an intranet website for a client that needs to access and display thousands of images from his local server. For various reasons they do not want to move the photos into the local host directory.

The images are in folders organized by job numbers, so I am able to dynamically pull the image names using PHP and build each page as needed. The image display works fine in IE (yeah, I know) but won't display in Firefox (and no error message)... a sample image tag looks something like this:
<img src="/////Proserver/DriveF/Photos/43234/dsc0123.jpg">
In Firefox I can display the image if I copy this path into the Address Bar, but that doesn't really help me. Some things I've already tried: Reversing the slashes, adding "file:" prior to the path (as this is what Firefox adds when displaying the image from the address bar). Neither solution worked in Firefox. IE actually wants to see the slashes as back slashes- \\.

Since it's an intranet the client can just use IE and no major problem (YET), but I find the whole issue troubling. Other than moving the files, does anyone have any suggestions?

11:09 am on May 25, 2007 (gmt 0)

Senior Member

joined:Jan 27, 2003
votes: 0

It should work if you reference the drive letter (with or without protocol) which does work with mapped drives.

<img src="S:/Proserver/DriveF/Photos/43234/dsc0123.jpg">

However, \\computername doesn't work since firefox translates this to file:///computername.

So a workaround would be for you to map \\computername to a drive letter on the machines accessing the intranet.


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members