shijingsh / react-native-customized-image-picker

iOS/Android image picker with support for camera, video compression, multiple images and cropping
245 stars 59 forks source link

Why is the image picker only allow user to pick 9 images a time? #34

Closed koswarabilly closed 6 years ago

koswarabilly commented 6 years ago

i have been wondering about the usage of the image picker. can i modify how many image can be selected? and if it is not available.. why can it be possible?

fenglu09 commented 6 years ago

You can set it by maxSize property.

koswarabilly commented 6 years ago

@fenglu09 can i let them pick more than 9?

fenglu09 commented 6 years ago

Of course.

ImagePicker.openPicker({
  multiple: true,
  maxSize: 20  // set number of image to pick
}).then(images => {
  console.log(images);
});
koswarabilly commented 6 years ago

@fenglu09 thankyou somuch