relative link

S

simonZ

I have image folder in root folder of my application and one image inside
it:
/images/image.jpg

How can I access to this image from all my subfolders
using relative link?
something like:
~/images/image.jpg

where ~ means root folder of my application.

<img src="~/images/image.jpg"> doesn't work.

Any idea?
regards,S
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top