This module prevents SVG images from being cropped by the Image Widget Crop module, as SVGs cannot be cropped. It requires both the Image Widget Crop and SVG Image modules to be installed.
Module essentially skips or excludes SVG images when using the Image Widget Crop module, as they can't be cropped.
Inspired by: https://www.drupal.org/project/image_widget_crop/issues/3034165
Requirements
Requires the Image Widget Crop module and also assumes you have the SVG Image module to enable SVG support.
Usage
Install module via Composer and enable module like any other contributed module.
composer require drupal/svg_image_widget_crop
drush en svg_image_widget_crop
Ask your assistant about SVG 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
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.1 | Stable | 8–10 | Dec 11, 2023 |