From 374a3a200507fdaa4ac94f7c719f3550ab8e33b2 Mon Sep 17 00:00:00 2001 From: 3D-I Date: Sat, 27 Feb 2021 21:59:48 +0100 Subject: [PATCH] [ticket/16712] Implement thumbnails for WEBP images in attachments PHPBB3-16712 --- phpBB/includes/functions_posting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index 9772523c53..c4e917e1c0 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -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) {