Open suhailk16 opened 4 years ago
Same issue here !
Same issue facing
When the multiple
is true
the cropper frame doesn't show up.
Same Issue
I adjusted the package to enable cropping if the user selects only one image while multiple flag is true. I think this would be a better solution till we make a full solution to crop all images. If you find this a good idea, It would be my pleasure to make a PR with it.
Thanks for your support, for now, yes please make a PR. But I am looking forward to full solutions to crop all images.
Just to share my solution with the 0.25.3 release (as i'm on 0.60.x RN version) and can't wait for this fix:
ImagePicker.openPicker({
...imagePickerOptions,
compressImageMaxWidth: 1000,
compressImageMaxHeight: 1000,
multiple: true,
mediaType: 'photo',
}).then(async images => {
const result = [];
for (const image of images) {
result.push(
await ImagePicker.openCropper({
path: image.path,
width: 1000,
height: 1000,
})
);
}
return result;
});
HPH
Any updates on this?
Also interested in this feature
Version
Platform
Expected behaviour
Show Cropper view when
multiple
is set totrue
Actual behaviour
when
multiple
is set tofalse after
picking image Cropper is showing but not whenmultiple
istrue
Steps to reproduce
just set