File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
code/Magento/Swatches/Helper
design/frontend/Magento/luma/etc Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -338,9 +338,9 @@ private function getGalleryImages(ModelProduct $product)
338
338
private function getAllSizeImages ($ imageFile )
339
339
{
340
340
return [
341
- 'large ' => $ this ->imageUrlBuilder ->getUrl ($ imageFile , 'product_page_image_large ' ),
342
- 'medium ' => $ this ->imageUrlBuilder ->getUrl ($ imageFile , 'product_page_image_medium ' ),
343
- 'small ' => $ this ->imageUrlBuilder ->getUrl ($ imageFile , 'product_page_image_small ' )
341
+ 'large ' => $ this ->imageUrlBuilder ->getUrl ($ imageFile , 'product_swatch_image_large ' ),
342
+ 'medium ' => $ this ->imageUrlBuilder ->getUrl ($ imageFile , 'product_swatch_image_medium ' ),
343
+ 'small ' => $ this ->imageUrlBuilder ->getUrl ($ imageFile , 'product_swatch_image_small ' )
344
344
];
345
345
}
346
346
Original file line number Diff line number Diff line change 85
85
<width >88</width >
86
86
<height >110</height >
87
87
</image >
88
+ <image id =" product_swatch_image_large" type =" image" />
89
+ <image id =" product_swatch_image_medium" type =" image" >
90
+ <width >240</width >
91
+ <height >300</height >
92
+ </image >
93
+ <image id =" product_swatch_image_small" type =" thumbnail" >
94
+ <width >88</width >
95
+ <height >110</height >
96
+ </image >
88
97
<image id =" product_page_main_image" type =" image" >
89
98
<width >700</width >
90
99
<height >560</height >
You can’t perform that action at this time.
0 commit comments