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).

Contextual Image Widget Crop

86 sites Security covered Drupal 10–11
View on drupal.org

This module improves the image cropping experience when using the Media Library. It allows editors to see and select only the relevant crop types for an image based on where that image will be used within a specific content type, simplifying the editing workflow.

Description

Enhances the Image Widget Crop module when using the Media Library, to take into account the context of the entity the Image Media entity gets added.

Say you have a node type "blogpost", and it contains a Media entity reference field for the blog post teaser image. On the "Manage display" page for blogpost, you have configured the Media image to be displayed through the image_blog_post image style (which uses for example a 4:3 crop type, from your list of available crop types).

When adding a Media image to your blog post, you only want to let editors set the 4:3 crop type, since that will be the one used after saving the node. Other crop types that might have been configured, are not relevant in this context, so we do not expose them to the editor, to simplify their workflow.

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
May 2025
Latest release
1 month ago
Releases (12 mo)
1
Maintenance
Active

Releases

Version Type Core Release date
1.0.6 Stable 10–11 Jul 9, 2026
1.0.5 Stable 10–11 May 5, 2025