This instruction was terribly confusing:

{code}Step 1: Download libraries from http://www.dropzonejs.com/ and push it in: site/all/libraries/dropzonejs{code}

'sites/all/libraries' is a D7 convention, not D8. In addition, it was not clear that I need the full library, not simply the js linked on the dropzone website. It was not until I looked at the patch for 'warning when JS library is not available' that I realized the problem. Here are suggested changes for the documentation:

Step 1: Download the libraries from http://www.dropzonejs.com/.

  • You need the full library which is easily available from the github repo: https://github.com/enyo/dropzone/tree/master/dist
  • Install the library folder in /your-drupal-docroot/libraries/
  • The full path to the required js file should be: /your-drupal-docroot/libraries/dropzone/dist/dropzone.js

Comments

mariagwyn created an issue. See original summary.

primsi’s picture

Issue tags: +D8Media, +Novice
primsi’s picture

Status: Active » Fixed

The d.o project page was in fact outdated (inherited from the non-existing 7.x branch). I've updated it with your suggestions. Thanks for pointing that out and suggesting changes.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

plato1123’s picture

It seemed like on my end that it wanted the minified version of the library in the min subfolder, so on my end the path that seemed to work was:
docroot/libraries/dropzone/dist/min

robert_t_taylor’s picture

What solved this issue for me was the same as plato1123

xm8963’s picture

#5 is right