I have been using Three.js for some time to display my panoramic pictures. I have recently moved all my images to a sub domain and since I did that, three.js is not loading images anymore and I get the following error message in my console:
DOMException: "The operation is insecure." three.js:121:396
I have one domain for browsable pages and a subdomain for images. CORS are set to allow access to everything under the same domaine *.mydomain.com and I can display images from subdomain.mydomain.com on pages like www.mydomain.com
I can access all my pictures with img src but as soon as I load one with Three.js, it doesn’t work.
Do you know how I could solve this?