This module allows you to apply a specific crop to media referenced in entity reference fields. This means you can control how media is displayed within different contexts, ensuring it fits perfectly where it's used.
This module provides a way to ability to apply a contextual crop to referenced media in entity reference fields
Requirements
Module Media Contextual Crop API
At leat one of the adapters :
Versions
2.0.x Branch
- Fully compatible with Media_contextual_crop 2.0.x release
- Remove all Drupal 9 compatibilities
- Ensure cleaning of crop & derivative when host entity are deleted
1.3.x
The 1.3.x branch are compatible with 1.2.x branch of main module in order to make it compatible with the core responsive_image formatter
1.x to 2.x Update process
- Use Drupal 10
- Upgrade this module to 1.3.0
- Upgrade all media_contextual_crop collection modules on the same row to 2.x
- Carefully read the recommendations on the module media_contextual_crop
Use case example
You can see an implementation and usage exemple here
Ask your assistant about Media Contextual Crop Reference
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
- Media Contextual Crop API
- Media Library Media Modify
- field Drupal core
- media Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.