We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e31bb7d commit 8266e08Copy full SHA for 8266e08
Model/Resize.php
@@ -391,9 +391,10 @@ protected function getResizedImageUrl(): string
391
$relativePath = $this->getRelativePathResizedImage();
392
if ($this->config->isWebpEnabled()) {
393
$relativePath = $this->webpConvertor->getWebPImage($relativePath);
394
+ } else {
395
+ $relativePath = $this->getRelativePathResizedImage();
396
}
397
- $relativePath = $this->getRelativePathResizedImage();
398
if ($this->mediaDirectoryRead->isFile($relativePath)) {
399
return $this->storeManager->getStore()->getBaseUrl(UrlInterface::URL_TYPE_MEDIA) . $relativePath;
400
0 commit comments