Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Image Styles Drush!

Security covered Maintenance fixes only 67 sites

This module allows you to create, manage, and delete Drupal image styles and their effects directly from the command line using Drush. It supports an interactive mode and uses a JSON format for parameters, making it scriptable.

This tiny module can be successfully used for creating complex image styles from the command line via Drush. You can use it in interactive mode, or via script. The common difference from similar modules is a parameters JSON format which you can use directly from a command line.

You can use these commands:

  • image-styles:add-effect (isae): Adds the image effect to the image style.
  • image-styles:create (isc): Creates an image style.
  • image-styles:delete (isd): Deletes the image style.
  • image-styles:delete-effect (isde): Deletes the image effect from the image style.
  • image-styles:effects (ise): Displays an image effects list.
  • image-styles:list (isl): Displays an image styles list.
  • image-styles:params (isp): Displays an image effect parameters list.

Use help (--help) for commands to learn more.

This module successfully works together with Image Effects module and others like it. Please use interactive mode and JSON parameters with caution! Parameter values are not validated, so you can easily break your site. For example, you MUST use web-style hex colors ("#RRGGBB") as values for all color fields. You have been warned.

Similar modules:

Drupal 8–11

Ask your assistant about Image Styles Drush!

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • image Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
May 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
1.0.2 Stable 8–11 May 5, 2024