In my asp.net mvc3 project I have attachments section where user can upload his confidental images(scanned contracts), which i store on remote server. But when i render attachments i don't want to give full URI of image like
<img href="http://imageURI..." />.
I think i can render them trough controller action like
public ActionResult RenderImage
{
return File(...);
}
but in method File I can't pass URI path.
Can anyone suggest me better solution.