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
See #2774425: ImageFieldFormatter::isValidImage() can be extremely slow for large images/slow FS, same problem here.
Proposed resolution
Same fix, check the "mime type type".
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#2 | file-browser-image-valid-2774439-2.patch | 872 bytes | Berdir |
|
Comments
Comment #2
BerdirThis patch is actually a against our custom module that is based on file_browser, no idea if it will still apply here as well.
Comment #3
slashrsm CreditAttribution: slashrsm at MD Systems GmbH commentedLooks good to me.
Comment #5
samuel.mortensonThanks, fixed!