3D-image icon indicating copy to clipboard operation
3D-image copied to clipboard

Cross-origin data error when loading page

Open Jonseed opened this issue 1 year ago • 0 comments

I get the following error in the browser when trying to load a 3D-image as noted in the Readme.

Uncaught (in promise) DOMException: Failed to execute 'texImage2D' on 'WebGLRenderingContext': The image element contains cross-origin data, and may not be loaded.
    at h (https://unpkg.com/3d-image:1:3988)
    at e.default.<anonymous> (https://unpkg.com/3d-image:1:4161)
    at Generator.next (<anonymous>)
    at a (https://unpkg.com/3d-image:1:2145)

Do you know what might be causing that?

Jonseed avatar Nov 06 '22 00:11 Jonseed