upload multiple files in dropzone code example
Example 1: dropzone upload only two files
parallelUploads: 10
Example 2: dropzone upload on one file
init: function() {
this.on('addedfile', function(file) {
if (this.files.length > 1) {
this.removeFile(this.files[0]);
}
});
}