Trying to implement multiple crop #554
Unanswered
gaganbiswas
asked this question in
Q&A
Replies: 1 comment 6 replies
-
The best is to reset the internal cropper state between each image. To do so, the easiest way is to use the |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to implement a multiple crop. Similar to how Instagram handles the new post dialog. The crop seems to work for multiple images but, the problem i am having is except the first image the other images are getting scaled in or zoomed when when cropped.
Take a look at the code below. Everything works except for the fact that images after the first one is getting zoomed in so the cropped area is wrong.
P.S. I am currently working on the handle video part also. I would appreciate a help in that also if I am doing something wrong.
Example:
First picture is properly cropped to 16:9 aspect ratio. But the second and third isn't.
This is the 2nd picture when uploaded individually and cropped to 16:9 aspect ratio.
Beta Was this translation helpful? Give feedback.
All reactions