Image area select to crop image in phonegap

2.9k Views Asked by At

I am new in phonegap.

I want to develop a app in which i want that a user will upload an image then he can crop the image through selecting image area. So please tell me how it's possible in phonegap.

Js plugin are not working on mobile.

please check following image to know what exactly i want. http://media.tumblr.com/df0529ed63155df0c7fff5d816a0f9ad/tumblr_inline_msopy8ONJY1qz4rgp.jpg

2

There are 2 best solutions below

2
rumshenoy On

I tried another plugin called JCrop-http://deepliquid.com/content/Jcrop.html and it worked perfectly fine. I followed the tutorial on the demo page. I tried the imgAreaSelect plugin but got stuck. There were no browser errors or anywhere I could look for as to why it wasn't working.

0
404 On

If you want something like imgAreaSelect where you can drag and crop within a window, try Guillotine, it's very easy to set up.

Not only allows to crop, zoom and rotate but it's also responsive (fluid) and has touch support which you certainly need in a mobile app.

Check out the demo.