Image cropping on a website on a mobile phone?


I'm using JCrop and PHP to allow my website's visitors to upload photos, crop them and then save the cropped result.

Problem is, it doesn't look like JCrop will work on a mobile phone.

Can someone please suggest an alternative method, that works on a mobile and is responsive?

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Phil PhillipsDevOps ArchitectCommented:
DarkroomJS is another javascript image editing library that you can try.  Should work on mobile devices.
Paul SauvéRetiredCommented:
if you save the image to a mobile device, you can crop it with the on-board image editor... or save to Instagram and edit there. IMHO, you seem to be giving yourself work for what already exists.
kbitAuthor Commented:
Thanks both.

Thinking out the crop offline idea...if I wanted to avoid doing loads of work on the code end, I guess I could force the user to upload an image to exact dimensions and reject it if the dimensions are not ok? Having good images is crucial to this project and doing automatic resizing might be a bad idea which I why I've stayed away from it
kbitAuthor Commented:
I just tried and it seems to work very nicely. Just doing some more testing now

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
kbitAuthor Commented:
This method worked flawlessly
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.