You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In app/code/core/Mage/Cms/Helper/Wysiwyg/Images.php
function getImageHtmlDeclaration
You have this path $mediaPath = str_replace(Mage::getBaseUrl('media'), '', $fileurl);
In multi store with different url, this line cause issues on images
Recommended correction for the time being, if you have anything better, I'd be delighted $mediaPath = str_replace(Mage::app()->getStore($this->_storeId)->getBaseUrl('media'), '', $fileurl);
The text was updated successfully, but these errors were encountered:
Hi
Openmage 20.11.0
In
app/code/core/Mage/Cms/Helper/Wysiwyg/Images.php
function getImageHtmlDeclaration
You have this path
$mediaPath = str_replace(Mage::getBaseUrl('media'), '', $fileurl);
In multi store with different url, this line cause issues on images
Recommended correction for the time being, if you have anything better, I'd be delighted
$mediaPath = str_replace(Mage::app()->getStore($this->_storeId)->getBaseUrl('media'), '', $fileurl);
The text was updated successfully, but these errors were encountered: