Ionic friendly image upload w/ crop


#1

I’ve been developing using the ionic framework. Lately I wanted to add the an image upload tool so that users can make a profile pic. Unfortinetly, none of the traditional approaches to the problem (Jcrop, cropme) seem to be working. Is anyone making a ionic friendly directive for this? Would appreciate it if no dependencies on jquery


#2

http://ngmodules.org/modules/cropme


#3

do you have a working example that works perfectly with ionic? As I mentioned above I tried this and other prebuilt solutions but the touch events do not seem to be firing at all.


#4

You didn’t mention you haven’t tried this Angular module yet.

As Ionic is built on top of Angular, this is your best bet for an Ionic compatible solution. The page even offers a demo. Have you tried looking at this demo?


#5

Unfortinetly, none of the traditional approaches to the problem (Jcrop, cropme) seem to be working.

They work just fine outside of ionic. But none of the touch events are firing at all. I tried the data-tap-disabled=“true” and still the crop area cannot be moved when testing on mobile device browser. All works find on desktop browser.


#6

In that case I would open up an issue on GitHub. Could be an issue with Ionic’s touch-tap system.