Like on instagram, choose multiple images and crop them individually.
currently no
@Martian2Lee
This is possible. User would basically just select a few images, and then be prompted to crop them one at a time.
Here's how I achieved this w/ this library:
const currPhotos = []
ImagePicker.openPicker({
cropping: false,
multiple: true
})
.then(async images => {
for(var i=0; i<images.length; i++) {
const image = images[i]
if(!image.didCancel && !image.error) {
const cropped = await ImagePicker.openCropper({
path: image.path,
...options
})
currPhotos.push(cropped.path)
}
}
//do something with currPhotos, e.g. func(currPhotos)
})
@samuely4ng
This is a great code.
It was a problem I was worried about, but thanks to you, I was able to solve the problem well
Most helpful comment
@Martian2Lee
This is possible. User would basically just select a few images, and then be prompted to crop them one at a time.
Here's how I achieved this w/ this library: