title: Load Image Src from Byte[] Asp.Net MVC 3
body: <p>I have an ASP.net MVC 3 application where I want to store an image as bytes in the model and then load it from the model into the src attribute of an html image tag.</p>
  
  <p>e.g. </p>
  
  <pre><code>//Property in Model
   public byte[] Image { get; set; }
  </code></pre>
  
  <p>But when I try this it errors:</p>
  
  <pre><code>&lt;img src = "@Model.Image" alt=""/&gt;
  </code></pre>
  
  <p>How can I load the image from bytes?  I want to avoid calling the Controller again to get the image as a FileResult.</p>
  
  <p>Is it possible?</p>