diff --git a/js/load-image.js b/js/load-image.js index 2283b17..3ec2d3f 100644 --- a/js/load-image.js +++ b/js/load-image.js @@ -19,6 +19,7 @@ // element (if supported by the browser) as parameter: function loadImage (file, callback, options) { var img = document.createElement('img') + img.setAttribute('crossorigin', 'anonymous') var url img.onerror = function (event) { return loadImage.onerror(img, event, file, callback, options)