omeka-s-modules / Collecting

GNU General Public License v3.0
2 stars 6 forks source link

Allow file upload collectors attach number of files. #36

Closed buckett closed 5 years ago

buckett commented 7 years ago

Currently when you add an upload media in your collection form it only allows the end user to attach one file. In some cases user may be attaching varying numbers of files. While you can add multiple upload media items to your collection form catering for the edge case of 20 when most items need just one or 2 uploads leads to a cluttered form.

Would it be possible to either add a new Media Type of Upload (multiple) that allows multiple files uploads or allow the existing Upload to be configured to allow multiple files?

jimsafley commented 7 years ago

Thanks for the request. It's seems like a good idea but may be tricky to implement. We'll look into it.

jimsafley commented 7 years ago

The multiple-file branch adds a "Upload Multiple" media type that uses the file input's "multiple" attribute. Users may select multiple files in the browser's native file picker using Ctrl/Shift+click. This is in addition to the existing single-select "Upload" media type.

I'm going to merge it into master depending on further consideration, testing, and feedback.

patrickmj commented 7 years ago

I think that it might be better left as a next release after our wholesale release on Tuesday.

buckett commented 7 years ago

Thanks for this, we're running the multiple-file branch locally and will let you know if we encounter any problems, in initial testing it's working a treat.

buckett commented 6 years ago

Might this get merged into master?

jimsafley commented 5 years ago

Merged in 2d50da08d1f315a7ecce5fba12862431002f6d3e