drupal / media_image_styles
Provides focal point-based image styles, responsive image styles, SVG image media type, and view modes for media.
Package info
git.drupalcode.org/project/media_image_styles.git
Type:drupal-recipe
pkg:composer/drupal/media_image_styles
1.0.0
2026-07-23 16:57 UTC
Requires
- drupal/core: ^11.4
- drupal/eca: ^3.1.2
- drupal/focal_point: ^2
- drupal/media_bulk_upload: ^3.0
- drupal/media_file_delete: ^1
- drupal/modeler: ^1.0
- drupal/svg_image: ^3.1
- drupal/token: ^1
README
Provides a recipe include focal point-based image styles, responsive image styles, SVG image media type, and view modes for media.
Features
- 55+ image styles with WebP output across 8 aspect ratios (1:1, 16:9, 4:3, 3:2, 2:3, 3:4, 9:16, 5:2) at multiple breakpoints, plus uncropped variants
- 29 responsive image styles using custom breakpoints (sm/md/lg/xl) powered by ECA
- 29 media view modes with corresponding view displays for images
- SVG Image media type with full field and display configuration
- Custom breakpoints via an ECA model for responsive image rendering
Dependencies
Media types (Image, Document, Local Video, Remote Video) are inherited from Drupal core recipes.