Create DropzoneJS field widget for file/image fields

Created on 10 August 2015, almost 9 years ago
Updated 17 April 2024, 2 months ago

Problem/Motivation

DropzoneJS module currently provides form element and widget for entity browser. We need to provide a image/file field widget too.

Proposed resolution

Let's make this work similar to how core widgets currently work. In terms of UX I'd just replace default HTML5 upload element with DropzoneJS element.

This should be a new widget (not altering core widgets), but should have similar look and feel.

✨ Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇺🇸United States Dave Reid Nebraska 🇺🇸

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇹🇭Thailand AlfTheCat

    I'd also like to add support for this issue, because there are simply a lot of use cases where you don't want or need an entity browser integration. For site admins entity browser is useful but for public facing forms they're not helpful. Mobile usability is also challenging.

    For instance: uploading a profile picture on registration. A photo field on a comment form. File uploads on contact forms (d10 especially), etc.

    In d7 I used file_resup on every single site but it's not working yet for later versions and this module seems like the only available alternative, and I'm sure many people install this and go right for the field formatter settings and are left wondering where the Dropzone option is. That sure was my experience, and that was after I spent a lot of time getting the right libraries to load. So +1 from me :)

    Should anyone know of a drag and drop/better looking upload alternative I'd love to know!

  • 🇬🇧United Kingdom robcarr Perthshire, Scotland

    https://www.drupal.org/project/file_resup → is now at a Beta release for D10 and facilitates a Dropzone style drag and drop UI (and some other nice features). The module could do with some testing and review.

    This issue has been live for over 7 years now: it's probably fair to say that the desired functionality will never be delivered in the DropzoneJS module.

  • 🇮🇹Italy Giuseppe87

    https://www.drupal.org/project/file_uploader_uppy → is another module that has a field widget for file/image fields.

Production build 0.69.0 2024