I have a database that is storing an image in it as a byte array and the corresponding class in EF. Now I have a view that is strongly typed taking in an IEnumerable. In the view I want to loop through all of the MyImage's that come in and display them, something like:
foreach(var drawing in model)
{
<img src=@drawing.Image alt="drawing" />
}
This is the simplified version of what I want. What do I need to do instead of that img tag???