1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-14 04:30:29 +01:00

[ticket/16712] Implement thumbnails for WEBP images in attachments

PHPBB3-16712
This commit is contained in:
3D-I 2021-02-27 21:59:48 +01:00
parent 84453ed957
commit 374a3a2005

View File

@ -552,7 +552,7 @@ function get_supported_image_types($type = false)
else
{
$new_type = array();
$go_through_types = array(IMG_GIF, IMG_JPG, IMG_PNG, IMG_WBMP);
$go_through_types = array(IMG_GIF, IMG_JPG, IMG_PNG, IMG_WBMP, IMG_WEBP);
foreach ($go_through_types as $check_type)
{