Hello. My piwigo 14.0.0.beta3 seems to be unable to use the GD library to display webp images. It runs on PHP8.1, and the graphics library used by piwigo is GD 2.3.3.

I see on phpinfo that GD supports webp, but after synchronizing the webp image to piwigo, I can see the image file on piwigo, but I can’t load the image. In the album, it only shows the name, and on its name “Copy image link” opens and shows a line of output “[Image GD] unsupported file extension”

The reason I use the GD library: Because the server running piwigo has very few resources and the traffic is not large, I found that Imagick occupies more resources than GD in this situation, so I chose to use the GD graphics library

I look forward to your answer, thank you!
14.0.0.beta3 uses GD to display webp output [Image GD] unsupported file extension.
This is a GitHub Issue
repo:Piwigo
owner:Piwigo
Title : 14.0.0.beta3 uses GD to display webp output [Image GD] unsupported file extension.
Issue date:

--- start body ---
Hello. My piwigo 14.0.0.beta3 seems to be unable to use the GD library to display webp images. It runs on PHP8.1, and the graphics library used by piwigo is GD 2.3.3.

I see on phpinfo that GD supports webp, but after synchronizing the webp image to piwigo, I can see the image file on piwigo, but I can’t load the image. In the album, it only shows the name, and on its name “Copy image link” opens and shows a line of output “[Image GD] unsupported file extension”

The reason I use the GD library: Because the server running piwigo has very few resources and the traffic is not large, I found that Imagick occupies more resources than GD in this situation, so I chose to use the GD graphics library

I look forward to your answer, thank you!
--- end body ---
