-
Notifications
You must be signed in to change notification settings - Fork 15
GD Extension Requirement #30
Copy link
Copy link
Closed
Description
Description
Now that GD is a required extension in Craft 5.9+ as outlined in this issue, seems like the System Report should be updated as well to reflect that since using only ImageMagick is no longer supported.
server-check/server/requirements/requirements.php
Lines 115 to 120 in 3b1f239
| array( | |
| 'name' => 'GD extension or ImageMagick extension', | |
| 'mandatory' => false, | |
| 'condition' => extension_loaded('gd') || (extension_loaded('imagick') && !empty(\Imagick::queryFormats())), | |
| 'memo' => 'When using Craft\'s default image transformer, the <a rel="noopener" target="_blank" href="https://php.net/manual/en/book.image.php">GD</a> or <a rel="noopener" target="_blank" href="https://php.net/manual/en/book.imagick.php">ImageMagick</a> extension is required. ImageMagick is recommended as it adds animated GIF support, and preserves 8-bit and 24-bit PNGs during image transforms.' | |
| ), |
Steps to reproduce
- Install Craft 5.9+ on a container with only ImageMagick enabled. GD is a composer requirement, but it's possible to install the dependencies on a local system successfully and have that synced to the container.
- Navigate to the System Report
- See that the System Report gets a green checkmark for having GD or ImageMagick, even though GD is now required.
Additional info
- Craft version: 5.9+
- PHP version: 8.4
- Database driver & version: Any
- Plugins & versions: N/A
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels