The goal is to be able to select multiple photos from Google Photos on an Android device and upload them using a regular html file input control.
I am able to select multiple photos but only one is uploaded...
Using the Gallery I am able upload multiple photos. Any idea why?
Here is a tester: https://jsfiddle.net/7sL1v46e/
<input id="fileInput" type="file" multiple accept="image/*">
When multiple files are selected the number of selected files appears in front of the file input.
EDIT 1: included the attribute accept="image/*". Still doesn't work if source of the photos is Google Photos
You should specify the input types you want to accept. For whatever reason, this makes everything work as expected.
<input type="file" id="images" multiple accept="image/*" />
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With