Roles required
Only an Administrator can configure the image toolkit.
Enabling and Configuring ImageMagick on a Quickstart Site (Pantheon)
Overview
This guide walks site administrators through enabling and configuring the ImageMagick module on a Drupal Quickstart site hosted on Pantheon.
Step 1: Enable the ImageMagick Module
- Navigate to Extend (
/admin/modules
). - Search for ImageMagick.
- Check the box next to ImageMagick.
- Click Install.
Step 2: Configure ImageMagick for Pantheon
To apply the recommended settings:
- Navigate to Configuration → Media → Image Toolkit (
/admin/config/media/image-toolkit
). - Select ImageMagick as the image toolkit.
- Set Image Quality to
92
. - Expand the "Advanced" section:
- Check the box for Coalesce (Preserve animation in GIF and WebP image formats).
- Click Save configuration.
Step 3: Optional setting for sites on a Pantheon Basic plan
Due to the limited memory provided for basic plan sites, a specific configuration is required for optimal performance.
- Navigate to Configuration → Media → Image Toolkit (
/admin/config/media/image-toolkit
). - Prepend Commands: Add the following:
-limit memory 64MiB
Useful Links
Keywords
GD, PHPGD, Image Quality