How to use this module? Upload the library?

Created on 17 November 2024, 4 days ago

Problem/Motivation

How to use this module?

I keep on getting the error message:

Dropzonejs requires the dropzone.min.js library. Download it (https://github.com/dropzone/dropzone) and place it in the libraries folder (/libraries)

So I've created a libraries folder under Drupal root.
I did a wget from github, extracted main.zip.
Found no min.js lib there, so I've downloaded it from the CDN.
Moved it into libraries - error.
Moved it into libraries/dropzone - error.
Checked this modules read me - non existant.

So frustrating - I just wanted to upload multiple pictures at once.
Why make it so complicated for non developers? (venting finished)

πŸ’¬ Support request
Status

Active

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @transmitter
  • πŸ‡ΊπŸ‡ΈUnited States bkosborne New Jersey, USA

    Sorry this is so frustrating. There doesn't really exist a simple solution for adding 3rd party library dependencies to Drupal modules. This module was basically forked from another deprecated module, Lightning Media, so I mostly just copied how things were done there.

    In any case, this module has a dependency on the DropzoneJS module β†’ . That module's page has information on how to to add the Dropzone JS library. It seems you did follow those instructions but are still having an issue. Can you try downloading version 5.7.2 of that library and seeing if it works? That's the version I use successfully.

Production build 0.71.5 2024