Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

This project provides pre-configured image styles and view modes designed to display images at specific aspect ratios in a responsive manner. It allows for consistent image presentation across your website, whether used directly in content fields or within rich text editors.

The Normalized Responsive Images recipe provides several sets of aspect ratio based responsive image styles and corresponding image view modes to display Normalized Image Styles.

Recipe Purpose

This recipe is designed to do the following:

  • Install up to 20 sets of aspect ratio based image styles with normalized dimensions
  • Install responsive image styles, one for each aspect ratio
  • Install image view modes, one for each responsive image style

Installing

  • Start with a Drupal ^10.3 site.
  • Install the 'Default' profile.
  • Apply the recipe

The recipe can be applied via Drush ^13

To apply all 20 sets and a demo:

ddev drush recipe ../recipes/normalized_responsive_images/normalized_responsive_images

- or -

drush recipe ../recipes/normalized_responsive_images/normalized_responsive_images

To apply any individual set, such as "Landscape Anamorphic":

ddev drush recipe ../recipes/normalized_responsive_images/nri_landscape_anamorphic

- or -

drush recipe ../recipes/normalized_responsive_images/nri_landscape_anamorphic

Or by using ddev exec

ddev exec -d /var/www/html/web php core/scripts/drupal recipe ../recipes/normalized_responsive_images/normalized_responsive_images

If all goes well, you should see the following output:

 [OK] Normalized Responsive Images applied successfully

Clear the cache after the recipe is applied. When going back to the site, all the recipe configuration and customization has been applied.

Usage

There are at least three ways to use Normalized Responsive Images

  1. Use a rendered image view mode when embedding image media in CKEditor
  2. Use a "Responsive image" field formatter anywhere images are displayed
  3. Use a single "Image" field formatter anywhere images are displayed

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Nov 2024
Latest release
7 months ago
Releases (12 mo)
2 ▼ from 3
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.0.3 Stable Jan 24, 2026
1.0.2 Stable Dec 31, 2025
1.0.1 Stable Jan 3, 2025
1.0.0 Stable Nov 1, 2024
1.0.x-dev Dev Nov 1, 2024