Im trying to build a drag and drop image upload but dropzone options dont work and I dont know if im doing it the right way.
I would love to set up the following opt
maxFilesize: 2,
uploadMultiple: false,
addRemoveLinks: true,
maxFiles: 1,
autoProcessQueue: false
You will need to add in a button or event handler to allow for processing of the previewed file, if you let it autoProcessQueue you don't have time to decide if you want the file or not unless you add an event handler at the "process" event.
$("#uploadme").dropzone.processQueue()