Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Contextual Image Widget Crop

Security covered Under active development 83 sites

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.

Drupal 10–11

Ask your assistant about Contextual Image Widget Crop

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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
8
Tracked since
Feb 2023
Latest release
3 months ago
Releases (12 mo)
1
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.0.6 Stable 10–11 Jul 9, 2026
1.0.5 Stable 10–11 May 5, 2025
1.0.4 Stable 8–10 Jun 13, 2024
1.0.3 Stable 8–10 May 31, 2024
1.0.2 Stable 8–10 Mar 6, 2024
1.0.x-dev Dev 10–11 Mar 1, 2024
1.0.1 Stable 8–10 Feb 29, 2024
1.0.0-alpha3 Pre-release 8–10 Feb 9, 2023