From e488e0e6b8d5a82eb26502eb14bf7d60c3af4093 Mon Sep 17 00:00:00 2001 From: Stephan Bauer Date: Fri, 11 Aug 2023 22:57:06 +0200 Subject: [PATCH] Add property hight to allow cropping With only width the images will have the same ratio width/height. With the extra parameter height it is possible to adjust without the need to crop them all in the editor. --- Classes/Utility/ImageVariantsUtility.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Classes/Utility/ImageVariantsUtility.php b/Classes/Utility/ImageVariantsUtility.php index a5e2526b2..e40ecaf96 100644 --- a/Classes/Utility/ImageVariantsUtility.php +++ b/Classes/Utility/ImageVariantsUtility.php @@ -21,6 +21,7 @@ class ImageVariantsUtility protected static $allowedVariantProperties = [ 'breakpoint', 'width', + 'height', 'aspectRatio', 'sizes', ];