You cannot use the AJAX object, only Sprites 'Load image from URL'. You don't need to do anything other than give it the URL, but you must have permission to load images from the server (look up the Access-Control-Allow-Origin HTTP header).
Ashley, I‘ve tried 'Load image from URL', but it didn't work.
I should say that the URL is a servlet, just like this: 'http://aaa.bbb.com/Querylet?Id=anystring', Id is a in-parameter
and the response will like these:
Content-Type: image/jpeg;\r
Content-Length: xx\r
\r
so...'Load image from URL' didn's get anything.