Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: incrediBILL
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:
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?
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.