dropzone multiple file upload 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]);
}
});
}