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

Uploading a folder of images without selecting them all #17

mpizenberg opened this issue Apr 24, 2018 · 1 comment


Copy link

@mpizenberg mpizenberg commented Apr 24, 2018

Currently, this application is using standard File input API. This forces the user to select all images to import, and cannot retrieve files recursively in folders.

We know however that Chrome is able to do so for google drive, so there should be a way. If anyone wants to dig into that, the code that deals with loading multiple files is in client/src/Packages/Button.elm:

  • loadMultipleFilesInput: function generating the File input button to load images.
  • loadMultipleFilesEvent: function decoding the list of files loaded by the input.

An alternative solution would be to be able to load a zip containing all images. This implies that the unzipping would have to be done in the browser.


This comment has been minimized.

Copy link
Owner Author

@mpizenberg mpizenberg commented Jul 26, 2018

From ACM MM18 review:

As the authors suggest, loading files in batches (rather than loading all of them at the same
time) would prevent possible complications. However, the necessity of processing in batches
makes the overall task somewhat more complicated; it creates the additional efforts for the
user, as the user will need to sort images into batches and do the necessary bookkeping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.