Reputation: 583
For example my app is in C:\Root\App then I have my images from C:\Image folder
C:\Image is configured in the web.config and getting the absolute path of this folder will result in file:////C://Image
is there a way to convert this to ../../Image that is relative to C:\Root\App folder?
or is there anyway to display images outside the app folder in a tag? ..because
Upvotes: 1
Views: 940
Reputation: 63732
Basically, you've got three ways:
I can write more about any of these solutions if you'd like.
Upvotes: 1