Currently when you drag and drop files or browse through files there is one xhr request for each file. How can I make the upload over a single xhr request.
The reason why I want to do so is that I want to process a series of images and then put them all in a zip and then give to user.
I want this to happen only when user ticks a checkbox.