Skip to main content
drupalreleases
Release: Cms 2.2.3 — Update released for Drupal core (2.2.3)! Release: Easy Breadcrumb 2.0.11 — Minor update available for module easy_breadcrumb (2.0.11). Release: Menu Link Attributes 8.x-1.9 — Minor update available for module menu_link_attributes (8.x-1.9). Release: Bootstrap 8.x-3.42 — Minor update available for theme bootstrap (8.x-3.42). Release: PhotoSwipe - Responsive JavaScript Modal Image Gallery 5.0.11 — Minor update available for module photoswipe (5.0.11). Release: Search API attachments 10.0.13 — Minor update available for module search_api_attachments (10.0.13). Release: Editoria11y Accessibility Checker 3.0.10 — Minor update available for module editoria11y (3.0.10). Release: Mismatched entity and/or field definitions 1.2.1 — Minor update available for module meaofd (1.2.1). Module Revived: Bootstrap 8.x-3.41 — Theme bootstrap updated after 6 months of inactivity (8.x-3.41). Security Coverage: Component Library — Module component_library now has official Drupal security advisory coverage.

This module automatically embeds the primary image from an image field into a long text field, such as the body, if no image is already present within the text. It is designed to insert the image between the first and second paragraphs for a better content flow.

Embed an image from an image field in a long text field (such as the body) if an image is not already embedded.

The primary use case is to place the main image (already used in the teaser) early into the text if there's not already an image there.

The image will be placed immediately prior to the second paragraph, so that it is shown between the first and second paragraphs. Our recommendation is to use CSS to center it above the second paragraph on mobile and inset at the top right of the second paragraph (on tablet, desktop, etc.)

Known issues

To start, this is hard-coded to field_image and the body field of the Article content type, but the goal is to make this configurable. If this module would meet your need, please post an issue! (Patches also welcome, naturally.)

Also, it is incompatible with Layout Manager. This might be an easy fix— making sure this module runs before Layout Manager, or finding a hook that runs right before Layout Manager goes to work, or (please no) dig into the random-named arrays that Layout Builder moves everything into.

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
1
Tracked since
Apr 2026
Latest release
6 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Core Release date
1.0.0-alpha1 Pre-release 8–11 Apr 3, 2026