Drupal is a registered trademark of Dries Buytaert
cms 2.1.3 Update released for Drupal core (2.1.3)! drupal 10.5.11 Update released for Drupal core (10.5.11)! drupal 11.3.11 Update released for Drupal core (11.3.11)! drupal 11.2.13 Update released for Drupal core (11.2.13)! drupal 10.6.10 Update released for Drupal core (10.6.10)! cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)!

image_sizes

81 sites Security covered
View on drupal.org

Responsive image styles depend on the parent element width.

Blow up your google page speed rank.

Installation 3.x

Install as usual.

How to use

- You can enable image sizes default module for some standards.
- A image formatter for fields is provided
- Use drush command for create a preset

Recommended modules

Image sizes works great with one of the following modules:
* https://www.drupal.org/project/focal_point
* https://www.drupal.org/project/image_widget_crop

Example drush commands

# Generate a preset with name default without ratio
drush isg "Default" 100 1400 100

# Add a blurred placeholder. Needs image_effects module.
drush isg "Default" 100 1400 100 --generate-thumbnail

# Generate style with 4x3 ratio
drush isg "Default" 100 1400 100 --ratio=4x3 

# Generate style with 4x3 ratio with focal point. Works only with ratio option.
drush isg "Default" 100 1400 100 --ratio=4x3 --use-focal-point

# Generate style with 4x3 ratio with image_widget_crop. Works only with ratio option.
drush isg "Default" 100 1400 100 --ratio=4x3 --use-manual-crop

# Convert to png file. Default is webp.
drush isg "Default" 100 1400 100 --format=png

Activity

Total releases
3
First release
Mar 2025
Latest release
1 year ago
Release cadence
7 days
Stability
0% stable

Release Timeline

Releases

Version Type Release date
4.0.0-rc6 Pre-release Mar 28, 2025
4.0.0-rc5 Pre-release Mar 14, 2025
4.0.0-rc4 Pre-release Mar 14, 2025