scottcheng / cropit

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

Does Cropit support IE 9 #67

Closed misternon closed 9 years ago

misternon commented 9 years ago

I have found many way to solve this problem but I have no idea about it. Is it possible that Cropit can run on IE9 Thank you

timruby commented 9 years ago

I was wondering this myself. I'm pretty sure that IE9 doesn't support the fileReader API, but any suggestions on a solution for IE9 would be really helpful.

troylarson commented 9 years ago

I was wondering this as well... for IE8. I know IE8 doesn't support the canvas tag (and a myriad of other features) but I was wondering if it was possible to support cropit with the use of other plugins like excanvas. I really like this plugin, so if there's no possible way to support it in IE8 I'll be bummed.

scottcheng commented 9 years ago

IE8 and 9 do not support FileReader, and Cropit does not natively support them. I have yet to try to work with IE8/9, but some of these polyfills may help: FileReader, Canvas.

BTW, just for fun :smiley:

misternon commented 9 years ago

Oh Thank you. I forgot about this cropit using FileReader but Thank you for your answer

benupham commented 9 years ago

does anyone have an opinion on the best IE 8+ compatible js cropper? I have a large international audience for my site...

troylarson commented 9 years ago

Hey Ben, I wound up using Jcrop v0.9.12 on my site for IE8 users. I think that's a pretty popular plugin, but the downside is you have to write the method to actually crop the photo on the server. I got it working, though. Good luck!