I want to load an image from the Discord CDN, like this one.
Currently the only way I know is sprite_add(). If I use it, I get this error in the web console:
Thanks!
Currently the only way I know is sprite_add(). If I use it, I get this error in the web console:
So, is there any way to fix this, or another way to load the image? Maybe it could be done through JS and then passed to GM? I don't know.Access to Image at 'https://cdn.discordapp.com/attachments/305914243977576459/483206320707862528/Untitled.png' from origin 'https://objective-kilby-081a78.netlify.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://objective-kilby-081a78.netlify.com' is therefore not allowed access.
Thanks!