HOW TO: Reference an Image/Web Resource from a Page in any Subfolder without Messy Path Problems

Solution

Use the ASP.NET "~" feature to base server control paths on application root directories.