diff --git a/app/code/Magento/Cms/Model/Wysiwyg/Images/Storage.php b/app/code/Magento/Cms/Model/Wysiwyg/Images/Storage.php index 73e4b39be7294..71e7949000826 100644 --- a/app/code/Magento/Cms/Model/Wysiwyg/Images/Storage.php +++ b/app/code/Magento/Cms/Model/Wysiwyg/Images/Storage.php @@ -722,6 +722,7 @@ public function resizeFile($source, $keepRatio = true) $image->keepAspectRatio($keepRatio); [$imageWidth, $imageHeight] = $this->getResizedParams($source); + $image->resize($imageWidth, $imageHeight); $dest = $targetDir . '/' . $this->ioFile->getPathInfo($source)['basename']; $image->save($dest);