Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maximum Images select problem #13

Closed
louisyip opened this issue Jun 19, 2014 · 3 comments
Closed

Maximum Images select problem #13

louisyip opened this issue Jun 19, 2014 · 3 comments

Comments

@louisyip
Copy link

Hi,

I have set maximumImagesCount: 20. When I select image count to 21, it popup "You can only select 20 photos at a time", I know it is normal. But after I click "OK", I can select one more photo that it haven't any popup!! Then I selected 21 photos! After it, I try to select 22 image, it pop "You can only select 20 photos at a time", after I click "OK", I can select one more photo that it haven't any popup!! Then I selected 22 photos! Etc...

@allie-wake-up
Copy link
Contributor

Does this occur in iOS or Android?

@louisyip
Copy link
Author

Does this occur in Android, I use ionic + cordova

@lusiakpurnama
Copy link

i got the problem.
on your MultiImageChooserActivity.java, line 203,

if (isChecked) {

it should be

else if (isChecked) {

because if you see line 189,
when the max image limit is reached, you uncheck the image,
but then the limit will increase by 1 in line 219

kuwabarahiroshi pushed a commit to kuwabarahiroshi/cordova-imagePicker that referenced this issue Oct 31, 2017
{Android} Fix width/height parameters, closes wymsee#13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants