How to display an image that we received through Ajax call?
<p>Web server generates images and sends them to client directly. There are no URLs to the images, for security reasons. For example, if I enter <code>/images/25</code> URL in the browser server will send it and browser will download it. </p>

<p>Now I want to get this image from Ajax call and then display it on existing page. I can get the image data. My question is: how can I display an image?</p>

<pre><code>$.get("/images/25", function (rawImageData) {
   // ??? Need to add an image to DOM
});
</code></pre>

<p><strong>Update</strong></p>

<p>I apologize for being so stupid. Thank you, JW. Of course I can just put img tag with src to my URL. It does not matter if this is a direct URL to an image file or the server sends it dynamically.</p>
