I am storing the physical path of pictures in a table and I am trying to display the image in a view.
I am fetching it and storing it in a Model and storing it in a string property before sending it to a strongly typed view.
I am trying to display the image using the following code:
<img src="@Url.Content(@Model.imageUrl)" alt="Image"/>
If I view the source of the page the path is correctly getting loaded as shown below, but the image is not getting displayed.
<img src="C:\Documents and Settings\dinesh.sekaran\Desktop\My
Files\OnlineShoppingSystemMVC\OnlineShoppingSystemMVC\Resources\iphone5s.jpg"
alt="Image"/>
Thanks for any help.