forked from dropzone/dropzone
-
Notifications
You must be signed in to change notification settings - Fork 0
enyo edited this page Apr 26, 2013
·
38 revisions
This FAQ is a work in progress. Please bear with me.
I get the error "Dropzone already attached." when creating the Dropzone.
This is most likely due to the autoDiscover feature of Dropzone.
When Dropzone starts, it scans the whole document, and looks for elements with the dropzone class. It then creates an instance of Dropzone for every element found. If you, later on, create a Dropzone instance yourself, you'll create a second Dropzone which causes this error.
So you can either:
- Turn off autoDiscover globally like this:
Dropzone.autoDiscover = false;, or - Turn off autoDiscover of specific elements like this:
Dropzone.options.myAwesomeDropzone = false;
- Dropzone already attached
- Large files not uploading
- Some image thumbnails aren't generated
- Show error returned by server
- Notification when all files finished uploading
- Add button to remove file preview
- Submit additional data
- Show info after file uploaded
- Show files already on server
- Use own
confirmimplementation - Limit the number of files
- Provide a thumbnail for files
- Reject images based on dimensions
Tutorials