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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Berdir created an issue. See original summary.

Berdir’s picture

Status: Active » Needs review
FileSize
872 bytes

This patch is actually a against our custom module that is based on file_browser, no idea if it will still apply here as well.

slashrsm’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +D8Media

Looks good to me.

samuel.mortenson’s picture

Status: Reviewed & tested by the community » Fixed

Thanks, fixed!

Status: Fixed » Closed (fixed)

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