Add CORS headers for image requests
Reported by Garret Buell | January 22nd, 2014 @ 05:21 PM | in Marvel's Daredevil (closed)
It would be nice if movie posters and backdrops had Access-Control-Allow-Origin: * set the same way as the JSON requests. This would allow post-processing backdrops (eg. detecting average color to set background/text contrast appropriately) using an html5 canvas and javascript.
Comments and changes to this ticket
-
Jordan Steele January 21st, 2015 @ 05:21 PM
Hey would love if this could be added!
I'm building an iOS/Android app using Apache Cordova and would love to be able to use the image with an HTML canvas element. Thanks!
-
Travis Bell April 28th, 2015 @ 12:25 PM
- State changed from new to resolved
- Tag set to feature
- Milestone changed from Icebox to Marvel's Daredevil
This was pushed live today, there is however a fairly large caveat.
We are not prepared to purge all our CDN edges due to capacity limitations. As such, you won't see a lot of these assets with the header for a while (until they get purged from the CDN edge caches).
I did a manual test on this image to verify that it is setup and working properly:
https://image.tmdb.org/t/p/w780/c1OSRvorPXvGtFka7mgV6Jcw6jd.jpg
I wish it was easier to propagate this out to all assets but it is just quite simply, not a possibility.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »