choose image when the count of image was over the maximum count,there is a bug about the count of the image