Scott Cheng

Results 14 comments of Scott Cheng

I totally agree. This could be a little tricky though since we'll have to bind the mouse event listeners to a parent of the preview div, e.g. `body`. I'll play...

Good point. I'm not familiar with reading EXIF and it will require some research. [This library](https://github.com/blueimp/JavaScript-Load-Image) seems to provide a good solution and I'll need to look into that.

@joesolly Thanks for the links! They are very helpful. I was hesitant to add a whole library like this as a dependency since it has a lot of code that...

@leifdenby Good work! Thanks for sharing. Those of you who don't mind adding [`JavaScript-Load-Image`](https://github.com/blueimp/JavaScript-Load-Image) as a dependency, check out his solution!

@phpMagpie Thanks for elaborating the issue. #48 doesn't fix this. Right now there's no API for that but one way to do it is to remove `background-image` of the image...

@phpMagpie Regarding preventing original image from being submitted with the form, you can remove the `name` attribute of the file input. See [this demo](https://github.com/scottcheng/cropit/blob/944a206c628bcba9a88e82cf9a0cc3b04e230fb9/demo/form.html) for an example. This way when...

Currently no, but that would be a nice idea and worth some investigation.

@fejstan Thanks so much for sharing your work!

@sidonaldson The code above from @fejstan works fine, but is not smooth enough to be added into the master branch. I've not fully tested it, but if you find it...

[Safari 5.1.7 does not support FileReader](http://caniuse.com/#feat=filereader), which cropit depends on. I'm not sure about IE 11 -- it should work. Are you getting any error in the console?