jQuery.ajax({
url: "http://img.bitpixels.com/getthumbnail?code=72853&size=200&url=http://www.facebook.com"}).done(function ( data ) {
if( console && console.log ) {
magically_display(data)
}
});
I've successfully used ajax to fetch images, but now I'm facing a dilemma. Is it possible to display the image without having to obtain a base64 encoded version from the server? I prefer not to utilize the Image Object for loading the image, nor do I want to directly input the URL into an image tag. My goal is to find a way to encode the image into a format that can be stored in local storage and later displayed using JavaScript.
Any suggestions or solutions?