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). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Inline responsive images

2,685 sites Security covered Drupal 10–11
View on drupal.org

This module allows users to select predefined image styles or responsive image styles when inserting images directly into the content editor. This provides a better authoring experience by letting authors choose from available styles rather than manually setting dimensions.

Inserting an image in the text editor dialog today allows the user to fiddle with image dimensions. It doesn't even have aspect ratio locking.

It's not great for the authoring experience nor for structured content reasons that users are defining the specific dimensions of every single image they insert. It'd be much better to allow them to choose from image styles — just like we do for image fields.

This module lets users select a responsive style OR a image style to place images in the content.

Installation

  • Enable the module.
  • Add the text format filter (Display responsive images or Display image styles). Do not enable both for the same text format.
  • Select the styles you want to expose.
  • Note: either don't enable the Restrict images to this site and
    Track images uploaded via a Text Editor filters or make sure to change the
    order so the filters of this module run after those filters.
  • Create new content. In the editor, click on the
    image icon in the toolbar. A popup will open where the user can upload an
    image and assign an image style or responsive style by selecting style from
    the dropdown menu.

Branches

4.0.x [latest stable]

Will only support Drupal 10+ and CKEditor 5.

3.0.x [deprecated]

Support for Drupal 9, 10, 11 and has CKEditor 4/CKEditor 5 support. CKEditor 4 will be supported as long as the contrib module is supported. Please test the dev version and leave feedback in the issue tracker. We would like to release a stable version soon.

Credits

This module is essentially a stand alone version of the patch in this issue:
#2061377: [drupalImage] Optionally apply image style to images uploaded in CKEditor 5
When that patch makes it in into core, this module is no longer needed.

We would like to credit the original authors of that patch: Wim Leers, mdrummond, Jelle_S, miraj9093, tonnosf, erik.erskine, dimaro, garphy, juancasantito.

Depends on

Dependencies of the latest stable release

  • editor Drupal core
  • image Drupal core
  • responsive_image Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
6
Tracked since
Oct 2024
Latest release
6 months ago
Releases (12 mo)
2 ▼ from 4
Maintenance
Slowing

Release Timeline

Releases

Version Type Core Release date
4.0.0 Stable 10–11 Feb 1, 2026
3.0.2 Stable 9–10 Feb 1, 2026
3.0.1 Stable 9–10 Oct 14, 2024
3.0.x-dev Dev 9–10 Oct 14, 2024
3.0.0 Stable 9–10 Oct 14, 2024
4.0.x-dev Dev 10–11 Oct 14, 2024