mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-14 12:52:08 +02:00
[ticket/16712] Implement thumbnails for WEBP images in attachments
PHPBB3-16712
This commit is contained in:
parent
8f21a055ad
commit
84453ed957
@ -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…
x
Reference in New Issue
Block a user