title: How to return image from controller without setting Content-Disposition tag?
body: <p>So I'm using MVC <strong>2</strong> to serve up some images from a Controller Action.  General wisdom (<a href="https://stackoverflow.com/questions/186062/can-an-asp-net-mvc-controller-return-an-image">1</a>, <a href="https://stackoverflow.com/questions/3416145/asp-net-mvc-returning-an-image-in-an-iframe">2</a>, <a href="https://stackoverflow.com/questions/1379614/display-image-from-image-object-in-mvc">3</a>) seems to be to use one of the <code>FileResult</code> types (<code>FileStreamResult</code>, <code>FileContentResult</code> or `FileContentResult').</p>
  
  <p>All three concrete <code>FileResult</code>'s, however, set the <code>Content-Disposition</code> response header with <code>attachment; filename{YourFileNameHere}=UTF-8</code>.  The net result is that if a user views my image directly, rather than embedded in HTML, the browser present a save dialog, rather than displaying the image.  I would prefer the image simply display in the browser.</p>
  
  <p>I guess that makes my question: Using MVC 2 What is the appropriate way to return an image result where the image is <em>NOT</em> marked for download?</p>