Skip to content

GD Extension Requirement #30

@SwiseWeb

Description

@SwiseWeb

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.

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

  1. 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.
  2. Navigate to the System Report
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions