5

Is there a cropping tool(marquee tool) written in javascript which would work on mobile browsers? Most of the marquee tools(cropping tool) that are written use mouse handles which would fail on touch based phones? Any pointers in this direction?

j0k
  • 22,600
  • 28
  • 79
  • 90
sri85
  • 337
  • 2
  • 19

2 Answers2

2

jCrop from http://deepliquid.com/content/Jcrop.html is supposed to support touch events, worth a look =]

kkemple
  • 982
  • 5
  • 9
  • Confirmed that jCrop works for touch events on iPhone and iPad – Ultrasaurus Aug 02 '13 at 10:19
  • 2
    While jCrop *does* function on touch devices, it doesn't provide the native type experience people expect: No pinch to zoom, it pans the crop area, not the image itself. – Josh Hunt Sep 25 '13 at 06:59
0

After testing 15 small free cropping libraries from my phone, I found that this one is the only one that works reasonably well on my phone.

http://guillotine.js.org/

It does not have pinch to zoom, but maybe the lack of ambition is what makes it works well.

Warning: It has not been updated since 2015

Niels Brinch
  • 3,033
  • 9
  • 48
  • 75