Uploading Multiple Files

If you set data-multiple attribute of the <input role="uploadcare-uploader">, the user will be able to choose and upload multiple files at once. These files are stored as a file group, you'll get a group_id in the value, like this:

088de3b6-c5f2-4f56-9e9c-87b0b960286e~3

This id consists of a UUID and a number after ~: this number is the size of this group. If you're not using autostore, you can store this group as a whole with API request.

group_id of a stored group can be used to get files from CDN, like this:

http://ucarecdn.com/088de3b6-c5f2-4f56-9e9c-87b0b960286e~3/nth/0/
http://ucarecdn.com/088de3b6-c5f2-4f56-9e9c-87b0b960286e~3/nth/1/
http://ucarecdn.com/088de3b6-c5f2-4f56-9e9c-87b0b960286e~3/nth/2/

All the CDN operations are supported with this scheme, too:

http://ucarecdn.com/088de3b6-c5f2-4f56-9e9c-87b0b960286e~3/nth/0/-/scale_crop/300x300/center/

Read more at the CDN documentation page.

If you haven't found what you were looking for in these docs, try looking in our Knowledge Base.