Commit 6400dcd9 by lmf

修复bug

parent bf9f021f
......@@ -162,7 +162,7 @@ class ImageFactory
$data = [
'data' => [
'template' => 'Magento_Catalog::product/image_with_borders.phtml',
'image_url' => strtr($imageAsset->getUrl(),'\\','/');
'image_url' => strtr($imageAsset->getUrl(),'\\','/'),
'width' => $imageMiscParams['image_width'],
'height' => $imageMiscParams['image_height'],
'label' => $this->getLabel($product, $imageMiscParams['image_type']),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment