Revert "Fix unhandled image detection"

This reverts commit 1069cfb570.
This commit is contained in:
Michael 2024-02-17 10:50:09 +00:00
parent 1069cfb570
commit 7d10518e94
4 changed files with 6 additions and 21 deletions

View file

@ -106,8 +106,8 @@ class Proxy extends BaseModule
// stop.
}
// reduce quality - if it is supported for this image type
if (Images::canResize($image->getType())) {
// reduce quality - if it isn't a GIF
if ($image->getImageType() != IMAGETYPE_GIF) {
$image->scaleDown($request['size']);
}