Loading image from database in mvc.net core
<p>I have a database and a dbinitializer class that populated the database with test data.  one of my columns of one of my tables are for storing a string path to images.  ie: Image="~/Content/Images/example.img"</p>

<p>then my view model is supposed to render the image for each item in the table.</p>

<pre><code>@foreach (var item in Model) {
        &lt;img style="width:200px;height:250px;" src="@Url.Content(item.Image)" alt="@item.Name" /&gt;

}
</code></pre>

<p>This exact method works in my normal mvc app but when i tried to emulate the exact same code in my core app the images arent rendering.  Does anyone know why I could be getting this problem?</p>