Cross origin problem with Twitch CDN images

I’d love to be able to use the images my users have already uploaded to Twitch, to personalize their site off Twitch, without them having to upload the same images to my server (or me having to fetch and serve the images myself)

At the moment you can’t manipulate the images served by because it doesn’t have a cross origin policy.
What you get is basically “The canvas has been tainted by cross-origin data.”, “Uncaught SecurityError: An attempt was made to break through the security policy of the user agent.” etc.

If cross origin headers could be added that’d be great, thanks!

what language are you trying to fetch the images with?

html canvas source by the sound of it

That’s likely, but wanted to rule out fetching the images server-side or with js to make sure…

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.