Search code examples
htmlfirefoximagesrc

Relative Image Path not showing Image in FireFox


I am trying to open a html page using Iframe. The Html page has some text and Images.

The Image Source is specified using releative path for e.g. ....\Images\Img1.jpeg.

Its working fine in IE and Chrome. In firefox the Image Path is becoming like-

http://localhost:1657/WebSite/Stories/kunwar/..%5C..%5CImages%5CStory_images%5Cimg1.jpeg

What am I missing here?


Solution

  • Try using forward slashes instead of backslashes.