Configuring your site's image toolkit

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

  1. Navigate to Extend (/admin/modules).
  2. Search for ImageMagick.
  3. Check the box next to ImageMagick.
  4. Click Install.

Step 2: Configure ImageMagick for Pantheon

To apply the recommended settings:

  1. Navigate to ConfigurationMediaImage Toolkit (/admin/config/media/image-toolkit).
  2. Select ImageMagick as the image toolkit.
  3. Set Image Quality to 92.
  4. Expand the "Advanced" section:
    • Check the box for Coalesce (Preserve animation in GIF and WebP image formats).
  5. 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.

  1. Navigate to ConfigurationMediaImage Toolkit (/admin/config/media/image-toolkit).
  2. Prepend Commands: Add the following: -limit memory 64MiB

Keywords

GD, PHPGD, Image Quality