tisuchi's avatar
Level 70

Getting original image in CropIt

I am using CropIt jQuery plugin for image cropping. Everything is working perfectly. Now, I am planning to get original uploaded image along with cropped image. Do you guys have any tips to do that?

*** https://github.com/scottcheng/cropit

0 likes
3 replies
simondavies's avatar
Level 26

its seems its crops the original image before submitting to a backend using img data, so you might need to have add a hidden field var that will hold the original image so you can pass it on with the submission process?

tisuchi's avatar
Level 70

Its basically here-

$('.image-editor').cropit({
          exportZoom: 2,
        });

Now, here if you use exportZoom:2 meaning that it will zoom your cropped image 200% zoomed.

Please or to participate in this conversation.