-1

I just use simple code to load image in asp.net image control, it works fine in IE but firefox does't show image. the line of code is:

 string path = "F:\\Image\\";
    string img = "header-firefox.PNG";
    Image1.ImageUrl = path + img;

and the error is:

The address wasn't understood

Firefox doesn't know how to open this address, because the protocol (f) isn't associated with any program.

even file:///F:/Image/header-firefox.PNG path is not working in code even.

Sam
  • 1
  • 1
  • 1
  • 4

1 Answers1

0

Do you mean that is the path you see in the HTML? I understand that the backslashes are escaped in C# but surely in the HTML the path should be "\\192.172.60.05\Users\4133.Png"?

Have you tried navigating to \192.172.60.05\Users\4133.Png directly in Firefox?

Maloric
  • 5,525
  • 3
  • 31
  • 46