I got following Code in jQuery:
$.get("img/background.jpg", function(img){
// Convert img to base64
var base64Img = $.base64.encode(img);
});
The Plugin I am using in the example is https://github.com/carlo/jquery-base64 - which is not working at all.
Is there any way to get the Base64 (string) after getting an image in jQuery?
Thank you very much.