Skip to content

Cross-origin data error when loading page #24

@Jonseed

Description

@Jonseed

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions