mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/16712] Implement thumbnails for WEBP images in attachments
PHPBB3-16712
This commit is contained in:
parent
8f21a055ad
commit
84453ed957
1 changed files with 5 additions and 0 deletions
|
@ -542,6 +542,11 @@ function get_supported_image_types($type = false)
|
|||
case IMAGETYPE_WBMP:
|
||||
$new_type = ($format & IMG_WBMP) ? IMG_WBMP : false;
|
||||
break;
|
||||
|
||||
// WEBP
|
||||
case IMAGETYPE_WEBP:
|
||||
$new_type = ($format & IMG_WEBP) ? IMG_WEBP : false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue