Title: Cross-origin error with photon
Last modified: August 20, 2016

---

# Cross-origin error with photon

 *  Resolved [macgamer](https://wordpress.org/support/users/macgamer/)
 * (@macgamer)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/cross-origin-error-with-photon/)
 * With photon enabled, I get the following error (in chrome) when trying to place
   an image (from wp_get_attachment_image_src) on a canvas. This only happens with
   images served from i*.wp.com (which is currently all of them unless I can find
   a way to override them)
 * Unable to get image data from canvas because the canvas has been tainted by cross-
   origin data.
 * [http://wordpress.org/extend/plugins/jetpack/](http://wordpress.org/extend/plugins/jetpack/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [13 years, 2 months ago](https://wordpress.org/support/topic/cross-origin-error-with-photon/#post-3489573)
 * Could you post your site URL as well as some examples of the images returning
   the error, so I can have a look?
 * If you want it to remain private, you can also contact us via this contact form:
   
   [http://en.support.wordpress.com/contact/?jetpack=needs-service](http://en.support.wordpress.com/contact/?jetpack=needs-service)
 *  Thread Starter [macgamer](https://wordpress.org/support/users/macgamer/)
 * (@macgamer)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/cross-origin-error-with-photon/#post-3489581)
 * I’m trying it via a virtual machine test site right now. When I take the site
   live I’ll email.
 *  Thread Starter [macgamer](https://wordpress.org/support/users/macgamer/)
 * (@macgamer)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/cross-origin-error-with-photon/#post-3489633)
 * Here’s a page set up to use photon, which returns the error (in Chrome).
 * [http://www.controlcommandescape.com/games/?photon=1](http://www.controlcommandescape.com/games/?photon=1)
 * If you omit the parameter, you can see the version that uses local files.
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [13 years, 2 months ago](https://wordpress.org/support/topic/cross-origin-error-with-photon/#post-3489634)
 * Thanks! It seems to be working for me though, in Chrome, Firefox, and Safari.
   
   [http://i.wpne.ws/N5iO](http://i.wpne.ws/N5iO)
 * Could you let me know one of the problematic image URLs?
 *  Thread Starter [macgamer](https://wordpress.org/support/users/macgamer/)
 * (@macgamer)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/cross-origin-error-with-photon/#post-3489635)
 * No that screenshot proves it is not working; the javascript is terminating. Check
   chrome’s console log. Also see what happens differently when you click on one
   of the icons from [http://www.controlcommandescape.com/games/](http://www.controlcommandescape.com/games/)
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [13 years, 2 months ago](https://wordpress.org/support/topic/cross-origin-error-with-photon/#post-3489637)
 * Oh, alright! My bad, I misread your first post; I thought that the images were
   not displayed, and returned an error.
 * I have forwarded the issue to our Photon expert, and we’ll get back to you as
   soon as we can address the issue.
 * **Update:** this bug has now been fixed.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Cross-origin error with photon’ is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/cross-origin-error-with-photon/#post-3489637)
 * Status: resolved