How to store images in the image picker to Google Drive

Thank you for your reply.

So far, I have taken about 8,000 photos and uploaded them to firebase. If the size of the picture taken by the image picker is smaller then the firebase disk space issue is resolved.

However, the challenge is to manually retake the photos that have been uploaded so far. It would be great if you can automatically change the size of uploaded photos.