on-internet
← Community

Firefox cross origin images

Stack Overflow ·

Whenever I set the crossorigin attribute on an image Firefox doesn't render the image. <img crossorigin="anonymous"> I'm using fabric.js which sets this attribute for me via JavaScript. I need to be able to render cross origin images. It works fine in Chrome and even IE. It seams as if Firefox previously have had some problems with CORS and I'm not sure if it's related, but I can seem to find any solutions to the problem. Since I am using a PHP proxy I have set the the headers: header("Access-Control-Allow-Origin: *"); This works fine in Chrome and even IE. So do any of you know why the image

Comments

Sign in or sign up to comment and upvote.

No comments yet.