processing / p5.js-web-editor

The p5.js Editor is a website for creating p5.js sketches, with a focus on making coding accessible and inclusive for artists, designers, educators, beginners, and anyone else! You can create, share, or remix p5.js sketches without needing to download or configure anything.
https://editor.p5js.org
GNU Lesser General Public License v2.1
1.36k stars 1.32k forks source link

CORS issue with uploaded images #3089

Open quinn opened 5 months ago

quinn commented 5 months ago

p5.js version

web editor

What is your operating system?

Mac OS

Web browser and version

Arc 124.0.6367.61 (Official Build) (arm64) Revision 1379a7bff9657e3f8d1c2dcedcd7dabf095f8186-refs/branch-heads/6367@{#799} OS macOS Version 14.4.1 (Build 23E224) JavaScript V8 12.4.254.12 User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Command Line /Applications/Arc.app/Contents/MacOS/Arc --flag-switches-begin --flag-switches-end Executable Path /Applications/Arc.app/Contents/MacOS/Arc Profile Path /Users/quinn/Library/Application Support/Arc/User Data/Default Linker lld Variations Seed Type Safe Active Variations f38ef081-ca7d8d80

Actual Behavior

CORS error

Expected Behavior

image should load

Steps to reproduce

See this sketch for an example:

https://editor.p5js.org/qshan/sketches/Lc10s6m60

The image exists and its trying to load the correct url. it fails on a cors error.

welcome[bot] commented 5 months ago

Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already.

joemckay5 commented 4 months ago

Is this the same problem as #3062?

Anurag12133 commented 2 months ago

Those who are mention that issue about image uplaod , this is not correct repo. THe issue must be raised on ps.js repo