styoe/croppic — pull request #26 by ptheofan (2014-06-25 16:36:24+00:00)
Title: image is js managed + php only resizes and crops due to increased qualit...

Hola, I made some modifications to use it in a project, I thought you might want the changes.

1. When loading an image it will not upload anything to php. It will just load it js wise. (so, no upload here - sometimes images can be huge - plus no need for extra garbage on the server)

2. After user has selected his desired area image is sent to server for resize/crop (simply because js sucks at resize).

3. php again does not save anything. It will just return the result. Of course the php dev can choose to save the file there if he wants to.

future notes... hm, perhaps add support for Imagick besides just gd ? Imagick produces really nice quality, especially when it comes to resizing.

If you like it feel free to merge.

In all, I like it! Nice concept! Thanks for sharing