DEV Community

Alverson Layne
Alverson Layne

Posted on

Answer: How to display an image from a path in asp.net MVC 4 and Razor view?

In your View try like this

  <img src= "@Url.Content(Model.ImagePath)" alt="Image" />

Top comments (0)