How to set image path dynamically in MVC 3 RAZOR

asp.net-mvc-3, dynamic, image, path, razor

Solution

<img src="@Url.Content(String.Format("~/Images/Model/{0}", item.ModelImagePath))"

Problem

How to set image path dynamically for following: ``` <img src="/Images/Model" + @item.ModelImagePath /> ``` "/Images/Model" this path is fixed, rest of the path comes from [ModelImagePath] column of Model DBTable. Please guide me how to set the path dynamically in View. And is there any Html helper tag to display image available in MVC RZOR? Note: i have similar type of problem as described in How to use/pass hidden field value in ActionLink

Original source