From 8195b0de8ad8a531a0357e61038f22ad0cb9170c Mon Sep 17 00:00:00 2001 From: Martin Ficzel Date: Fri, 21 Sep 2018 10:47:51 +0200 Subject: [PATCH] BUGFIX: Image sources apply width and height definitions correctly in Fusion --- Classes/FusionObjects/AbstractImageSourceImplementation.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Classes/FusionObjects/AbstractImageSourceImplementation.php b/Classes/FusionObjects/AbstractImageSourceImplementation.php index 232b2f9..93311e0 100644 --- a/Classes/FusionObjects/AbstractImageSourceImplementation.php +++ b/Classes/FusionObjects/AbstractImageSourceImplementation.php @@ -44,15 +44,15 @@ public function evaluate() : ?ImageSourceHelperInterface } if ($preset = $this->getPreset()) { - $helper->applyPreset($preset); + $helper = $helper->applyPreset($preset); } if ($width = $this->getWidth()) { - $helper->setWidth($width); + $helper = $helper->setWidth($width); } if ($height = $this->getHeight()) { - $helper->setHeight($height); + $helper = $helper->setHeight($height); } return $helper;