I'm having trouble with an <img>
element in a master page that I can't get to be reachable from both the home default.aspx
page, and any nested page using the same src
path.
For example, from the home page (located on the root), I'm able to display the image with:
<img src="Images/test.jpg">
But all pages located one level down, in a folder on the root, must use src="../Images/test.jpg"
to display the image.
I have tried using ~
and other ways to get one path to work for both locations, but no luck yet.
This seems too easy, so I must be making this more difficult than it is... Feel free to enlighten me with any clues.