I'm not sure of your setup, but I've done such a thing this way: $('img').attr('src','image.ashx?I=432').appendTo(document.body);
The image.ashx page is a server-side component that pulls binary data out of an assembly, and returns it to the client, something like this: Response.ContentType = "image/gif"; image.Save(Response.OutputStream); Response.End(); Does this help? JK -----Original Message----- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [rob desbois] Sent: Monday, July 23, 2007 9:26 AM To: jQuery (English) Subject: [jQuery] Possible to retrieve image data via AJAX for display? Hi all, I have a feeling the answer is a flat 'no', but want to check: is it possible for an AJAX request to retrieve binary image data (e.g. raw GIF) and display that on the page? Thanks, --rob