I'm having some problem with images on Firefox, hope you can help me.
I have a page (.aspx - VB.NET) that is a viewer of images, and I build a treeview to navigate on the folders, and buttons to pass forward through the images. My problem is that it works fine in IE, but the image doesn't show in Firefox.
I'm using a absolute path, because the image isn't on the same server as the application, and so I get the path by code-behind, and change the property of my asp.net control Image. Like so:
Image.ImageUrl = "\\spoad1\Mkt\FOTOS GERAL DA FAMILIA OPTION\2005 - CONFRATERNIZAÇÃO\apng.PNG"
On IE, works fine; it changes the path adding the part of file:// and changes the backslash("\") into "/"
file://spoad1/Mkt/FOTOS%20GERAL%20DA%20FAMILIA%20OPTION/2005%20-%20CONFRATERNIZAÇÃO/apng.PNG
Note that the //spoad1 is the server where my image is localized.
But on Firefox, it doesn't work, and the URL of image changes a lot. Using the console error, I get this:
http://localhost/main/FamiliaOption/%5C%5Cspoad1%5CMkt%5CFOTOS%20GERAL%20DA%20FAMILIA%20OPTION%5C2005%20-%20CONFRATERNIZA%C3%87%C3%83O%5Capng.PNG
It appears that Firefox is adding the current location of my application (http://localhost/main/FamiliaOption/) and adding the URL after this. How can I get Firefox to display the URL correctly?