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.

EntityOne

Supporting organizations: 
Creation of module
Creation of module

Project information

Releases