Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Image Crop Library for desktop and touch devices

I need to find a javascript library for cropping and resizing images that works on both desktop and mobile (touch) devices. It could be a jQuery plugin although I prefer having something that is more vanilla.

I have searched around and found various options but they all seem to be working for desktop only.

The project I am currently working on needs the libraries to be MIT and/or GPL licensed.

I have found this library named jQuery Image Crop (http://codecanyon.net/item/image-crop/5348464) which does exactly what I need but is not distributed under a MIT/GPL license.

Does anyone have an alternative/suggestion for me ?

Thanks

like image 598
Joel Lord Avatar asked Feb 20 '14 01:02

Joel Lord


2 Answers

The library I prefer by far for everything related to cropping is cropper.js

This javascript library has tons of features, is very customizable and has a lot of activity on github:

https://fengyuanchen.github.io/cropperjs/

like image 111
chrisweb Avatar answered Oct 21 '22 01:10

chrisweb


Try with Jcrop. I'm using it for my project; works fine on mobile. Here is the link: https://jcrop.com/

P.S. Click here for the old version of the plugin.

like image 4
Abhishek Avatar answered Oct 21 '22 01:10

Abhishek