mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/16712] Implement thumbnails for WEBP images in attachments
PHPBB3-16712
This commit is contained in:
parent
84453ed957
commit
374a3a2005
1 changed files with 1 additions and 1 deletions
|
@ -552,7 +552,7 @@ function get_supported_image_types($type = false)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$new_type = array();
|
$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)
|
foreach ($go_through_types as $check_type)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue