|
Hi,
I've got an image that I want to reference from my page. However i'm using URL rewriting so the same page may be accessed from all the following URL's
/categories/category1/item1
/categories/category1/
/categories/
This causes a problem as the path to the image is different depending on which URL is calling the page.
In ASP.NET I could use the following:
<img src="~/images/myimage.jpg" runat="server">
Is there anything similar in ASP?
I could specify the image using an absolute URL I suppose but is there a way to get it working using a relative URL?
Thanks
|