gd_info - check if GD extesion is available

Created on 10 October 2024, 6 months ago

We have an environment where the GD extension is not installed because Imagick is used for image processing. In the webp.install file, there is a check to see if GD supports the WEBP format, but this check fails if GD is not installed at all, causing 500 error.

Error: Call to undefined function gd_info() v webp_requirements() /var/www/web/modules/contrib/webp/webp.install).

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇨🇿Czech Republic parisek

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024