How do I enable multi-file upload?

Transloadit supports several ways for users to upload multiple files at once.

HTML2

The easiest way to allow users to select multiple files, is to use an input field like this:

<input name="my_file" multiple="multiple" />

This will allow users with an HTML2+ capable browser to select multiple files in the file selection dialog box.

Supported Browsers:

  • Firefox >= 3.6
  • Google Chrome >= 2
  • Safari >= 4

For Opera, use their Web Forms 2.0 support, which has been available since 2006:

<input type="file" min="1" max="9999" />

More information in our HTML2 integration docs.

HTML5

For more modern browsers, it's recommended to use our file uploader Uppy which by default allows uploading multiple files at a time.

See also:

Can I allow Transloadit's IPs in my firewall? What's the difference between Uppy and Transloadit? How can I make sure that an image is actually from my correct user?