Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

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

Activity

Total releases
2
First release
Dec 2025
Latest release
5 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.3 Stable Jan 24, 2026
1.0.2 Stable Dec 31, 2025