Drupal is a registered trademark of Dries Buytaert

container_query_images

69 sites No security coverage
View on drupal.org

A Drupal module that extends Responsive Image to support CSS container queries.

How It Works

1. Create breakpoints with "container" in the group name
MYTHEME.container.sm:
label: 'Container SM (240px)'
mediaQuery: 'all and (min-width: 240px)'
weight: 1
group: MYTHEME.container
multipliers:
- 1x
2. Use these breakpoints in a Responsive Image Style
3. The module automatically detects and enables container query mode

How to use
1. Go to `/admin/config/media/responsive-image-style`
2. Create a style, select "container query images" as the breakpoint group
3. Map your image styles
4. Use the standard Responsive Image formatter

Activity

Total releases
2
First release
Feb 2026
Latest release
2 weeks ago
Release cadence
0 days
Stability
50% stable

Releases

Version Type Release date
1.0.1 Stable Feb 13, 2026
1.0.x-dev Dev Feb 13, 2026