diff --git a/photo-sphere-viewer.js b/photo-sphere-viewer.js index bd5b3fdc9..eb6b04fea 100644 --- a/photo-sphere-viewer.js +++ b/photo-sphere-viewer.js @@ -192,6 +192,7 @@ var PhotoSphereViewer = function(args) { var createBuffer = function(pano_data) { var img = new Image(); + img.setAttribute('crossOrigin', 'anonymous'); img.onload = function() { // No XMP data?