-
-
Notifications
You must be signed in to change notification settings - Fork 168
Plupload
Martin Kluska edited this page Mar 23, 2018
·
4 revisions
Package | View | Javascript |
---|---|---|
Website | Source | Source |
- Read the official docs
- Create the view as package requires
- Implement the basic dropzone code
// A quick way setup
var myDropzone = new Dropzone("#my-awesome-dropzone", {
// Setup chunking
chunking: true,
method: "POST",
maxFilesize: 400000000,
chunkSize: 1000000
});
// Append token to the request - required for web routes
myDropzone.on('sending', function (file, xhr, formData) {
formData.append("_token", token);
})