I'm using ASP.NET 4 Web forms routing, for example like this: routes.MapPageRoute("page-browse", "{Language}/{Label}", "~/Default.aspx") So the webadress could look like: http://localhost/mywebsite/eng/home
In the root of my website I have a folder "Images".
Image display works when I'm in the root of my website, e.g. by using http://localhost/mywebsite/default.aspx
But when using routing it doesn't work, because the image relative url will look at "http://localhost/mywebsite/eng/images" instead of "http://localhost/mywebsite/images"
Is there a way to prevent this using ASP.NET 4 Routing mechanism? Or is the only way to use absolute url's to images?