Image display on MVC view

The path in the src attribute must be relative to the website root, not the absolute path on the server. So in your case that would probably be something like "/uploads/FileUpload12011_03_02_11_49_22.jpg".


You have specified an absolute path which doesn't exist on the client computer. Try like this:

<img src= "@Url.Content("~/uploads/FileUpload12011_03_02_11_49_22.jpg")" alt="IMAGES" />

or if your model variable contains "~/uploads/FileUpload12011_03_02_11_49_22.jpg" you could:

<img src= "@Url.Content(Model.PictureLocation)" alt="IMAGES" />