Recently I deployed clone of production website to a test server which has been provisioned without PHP's GD library.
It wasn't a fresh install so this problem has been not been picked up by installer.
Function file_validate_is_image() returns 'Only JPEG, PNG and GIF images are allowed.' if GD library is missing.
I know that these circumstances are rare but anyway this message should be more accurate.
It was Drupal 7 but proposed patch is for Drupal 8 first.
Attachment | Size | Status | Test result | Operations |
---|---|---|---|---|
image_validate_is_image_missing_toolkit.patch | 647 bytes | Idle | FAILED: [[SimpleTest]]: [MySQL] 55,620 pass(es), 1 fail(s), and 0 exception(s). | View details | Re-test |