2

Is there any solution yet which allows me to upload multiple media entities at once? At the moment I've to

  • Select a file
  • Upload it
  • Select the next file
  • Upload this

Especially for a gallery, where I've to upload a lot of images, this can be very annoying.

I really like to use the media entity module for this job because this way I can reuse all the images I've already uploaded in my gallery for other content.

1 Answer 1

1

Have you already checked the PlUPload module ?

It's still -dev, but should work ..

Another approach could be: Using IMCE browser, that already allows multi-file uploads in combination with filefield_sources, you should then be able to select the uploaded images for your gallery field and others.

More sophisticated is the media(-entity)-suite, there's dropzoneJS in place.

8
  • Thanks for your answer! I went with the PlUpload solution. Works like a charm :-). Although it's not really obvious that the integration of a JS library will add the functionallity for creating media entities in bulk ;-). Oct 31, 2016 at 8:35
  • just added another option - ;)
    – rémy
    Oct 31, 2016 at 12:10
  • In Drupal 8.5.6-dev / lightning-8.x-3.x-dev PlUpload doesn't seem necessary now for multiple file uploads: It is possible to pick more than one file at the same time, from the pop-up chooser shown. I have found this to be the case when clicking "Choose Files" when creating or editing content with a File field that has the "unlimited" upload setting. I'm not sure if my finding also applies to earlier pure Drupal 8 version (i.e not lightning.) I would bear in mind licensing of plupload - have a look at the library's website. The GPL variant may be unsuitable for some, Jul 15, 2018 at 21:45
  • All that said. I'd still be interested (and grateful) in how @TiMESPLiNTER setup PlUpload. Jul 15, 2018 at 21:46
  • With the possible licensing restrictions with PlUpload, I think that dropzoneJS would be worth considering. Jul 15, 2018 at 21:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.