homepage Welcome to WebmasterWorld Guest from 54.242.140.11
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Browsers / Firefox Browser Usage and Support
Forum Library, Charter, Moderators: incrediBILL

Firefox Browser Usage and Support Forum

    
Firefox image display issue on an Intranet
davecan

5+ Year Member



 
Msg#: 3346883 posted 9:11 pm on May 22, 2007 (gmt 0)

Hi,

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?
Thanks!

 

Receptional Andy



 
Msg#: 3346883 posted 11:09 am on May 25, 2007 (gmt 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Browsers / Firefox Browser Usage and Support
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved