Dropzone
Drag'n'drop file-attach uploads with image previews.
Official documentation
For more detailed information and examples, see the official documentation: Dropzone.js .
How to use? #
Copy-paste the following <script>
near the end of your pages to enable it.
Place this code, which contains everything you need, within the
<head>
of each template or page
that
you want to use Dropzone on.
Add attributes data-uploader="true"
to
init dropzone and data-uploader-url
to
provide url
for dropzone process upload
image