thumb webp
This commit is contained in:
parent
49512b153c
commit
8d3b92ba21
@ -1023,6 +1023,9 @@ class common
|
||||
case 'gif':
|
||||
$source_image = imagecreatefromgif($src);
|
||||
break;
|
||||
case 'webp' :
|
||||
$source_image = imagecreatefromwebp($src);
|
||||
break;
|
||||
}
|
||||
// Image valide
|
||||
if ($source_image) {
|
||||
@ -1045,6 +1048,9 @@ class common
|
||||
case 'image/gif':
|
||||
return (imagegif($virtual_image, $dest));
|
||||
break;
|
||||
case 'webp' :
|
||||
$source_image = imagecreatefromwebp($src);
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
return (false);
|
||||
|
Loading…
Reference in New Issue
Block a user