forked from leftypol/leftypol
GdMediaHandler.php: fix imagewebp call
This commit is contained in:
parent
c5c8966d19
commit
03b55f9335
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ class GdMediaHandler implements MediaHandler {
|
|||
case 'image/gif':
|
||||
return \imagegif($gd, $file);
|
||||
case 'image/webp':
|
||||
return \imagewbmp($gd, $file, 50);
|
||||
return \imagewebp($gd, $file, 50);
|
||||
case 'image/bmp':
|
||||
return \imagebmp($gd, $file, true);
|
||||
case 'image/avif':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue