You need create image on fly and on the image’s onload event use div object’s appendChild method to append image into div.
If you use placeholder image and replace the source with the remote image's source by javascript code, it doesn’t work.
AJAX doesn’t work neither. Although you can encapsulate a binary stream inside an XML envelope and encode the binary data then decode it on the client page, but this is not practical for an image file data.
If you use placeholder image and replace the source with the remote image's source by javascript code, it doesn’t work.
AJAX doesn’t work neither. Although you can encapsulate a binary stream inside an XML envelope and encode the binary data then decode it on the client page, but this is not practical for an image file data.