MapPath cross-browser image failure
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, After almost 6 months I found the reason why the images I'm placing on my page are not loaded in firefox although being loaded well in IE. The method Server.MapPath(...) is not working well in firefox. Instead of using: ImageUrl(or Src)=MapPath(...) use the direct string of the image's path: ImageUrl(or Src)=@"MyImages\pic.jpg"; Bye