This code used to work fine for dragged and dropped images from the file system - but now fails with an error of "failed to load resource blob:chrome-extension:....."
function getImageData(aFile, targetNode, callback) {
//console.log('get image data ' + aFile );
$("#droppedImage").css("display", "block");
var imageReader = new FileReader();
imageReader.onload = function(e) {
document.getElementById('droppedImage').onload = function(e) {
imageWidth = this.width;
imageHeight = this.height;
saveFile(aFile, targetNode, callback);
};
$("#droppedImage").attr("src", imageReader.result);
};
imageReader.readAsDataURL(aFile);
} // getImageData -
Is this a bug in the latest Chrome release or is there a new set of permissions that we need or anything of that sort?