scottcheng / cropit

A "customizable crop and zoom" jQuery plugin.
http://scottcheng.github.io/cropit/
MIT License
874 stars 304 forks source link

Image file upload fails when allowCrossOrigin is true in 0.4.0 #81

Closed nhutruby closed 9 years ago

nhutruby commented 9 years ago

the issue still happens although we set crossOrigin = true

scottcheng commented 9 years ago

What browser and version are you using?

nhutruby commented 9 years ago

Chromium Version 41.0.2272.76 Ubuntu 14.04 (64-bit) Firefox for ubuntu 38.0

scottcheng commented 9 years ago

Please try 0.4.1 and see if it's fixed.

nhutruby commented 9 years ago

Hi it isn't ok it should be if (this.options.allowCrossOrigin) { this.image.crossOrigin = "Anonymous"; } Thanks