Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Things are moving around https://github.com/enyo/dropzone/issues/781 and the functionality is now available for testing. We currently don't offer any resizing at all. The only limit we impose is file size.
Proposed resolution
Start implementing the functionality. Wait committing until a new version of Dropzonejs is released.
Remaining tasks
- Test patch with other widgets too (implemented only for file).
- Think about possible test coverage.
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#13 | interdiff-2877034-11-12.txt | 1.4 KB | chr.fritsch |
#13 | 2877034-12.patch | 13.57 KB | chr.fritsch |
#11 | interdiff-2877034-9-11.txt | 2.7 KB | chr.fritsch |
#11 | 2877034-11.patch | 12.05 KB | chr.fritsch |
#9 | use_dropzonejs_client-2877034-9.patch | 11.27 KB | Primsi |
Comments
Comment #2
Primsi CreditAttribution: Primsi at MD Systems GmbH for MD Systems GmbH commentedComment #3
Primsi CreditAttribution: Primsi at MD Systems GmbH for MD Systems GmbH commentedInitial patch
Comment #4
Primsi CreditAttribution: Primsi at MD Systems GmbH for MD Systems GmbH commentedFixing unwanted change in library file.
Comment #5
Primsi CreditAttribution: Primsi at MD Systems GmbH for MD Systems GmbH commentedAdded schema changes
Comment #6
Primsi CreditAttribution: Primsi at MD Systems GmbH for MD Systems GmbH commentedAdding additional config parameters and some small docs improvements.
Comment #7
Primsi CreditAttribution: Primsi at MD Systems GmbH for MD Systems GmbH commentedFixing wrong schema type for quality.
Comment #8
Berdirdoesn't this require the library to be defined in hook_libraries() or something? Maybe that changed..
Looks fine to me other than that and it is working well for us.
Comment #9
Primsi CreditAttribution: Primsi at MD Systems GmbH for MD Systems GmbH commentedAddressing comment from #8. Better yes.
Comment #10
BerdirI think this needs an update for the version number, then lets commit this :)
Comment #11
chr.fritschI updated the exif version to 2.3 and added the new schema entries to dropzonejs_media_entity_inline_entity_form as well.
Comment #12
chr.fritschThis also needs an update hook to initialize the new keys in the config.
Comment #13
chr.fritschHere is the update path
Comment #15
chr.fritschCommitted to 8.x-1.x. We should also commit it to 2.x
Comment #17
chr.fritschPushed to 8.x-2.x as well.