1
0
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:
3D-I 2021-02-27 20:04:41 +01:00
parent 8f21a055ad
commit 84453ed957

View File

@ -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