I guess it\'s something very straight forward but I can\'t find out how to do it. In my controller I have:
public ViewResult ShowForm()
{
You need a ImageController to render that.
See this:
ASP.NET MVC3: Image loading through controller
and this: Can an ASP.NET MVC controller return an Image?
once you have a controller you can render as follows:
public class ImageController{
public ActionResult ShowImage(string path)
{
return File(path);
}
}
in your views: