Commit b16cf925105d52ced068d36955b355fc23cb9635
1 parent
aaa41b58
image size
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
frontend/views/catalog/product.php
@@ -102,7 +102,7 @@ $this->registerJs (" | @@ -102,7 +102,7 @@ $this->registerJs (" | ||
102 | data-cost="<?= $variant->price ?>" | 102 | data-cost="<?= $variant->price ?>" |
103 | data-old_cost="<?= $variant->price_old ?>" data-id="<?= $variant->product_variant_id ?>" data-art="<?= $variant->sku ?>" | 103 | data-old_cost="<?= $variant->price_old ?>" data-id="<?= $variant->product_variant_id ?>" data-art="<?= $variant->sku ?>" |
104 | data-color="<?= $variant->name ?>" | 104 | data-color="<?= $variant->name ?>" |
105 | - data-image="<?= \common\components\artboximage\ArtboxImageHelper::getImageSrc($variant->imageUrl, 'list') ?>" | 105 | + data-image="<?= \common\components\artboximage\ArtboxImageHelper::getImageSrc($variant->imageUrl, 'product_view') ?>" |
106 | data-imageoriginal="<?= $variant->imageUrl ?>" | 106 | data-imageoriginal="<?= $variant->imageUrl ?>" |
107 | title="<?= $product->fullname ?>"> | 107 | title="<?= $product->fullname ?>"> |
108 | <?= \common\components\artboximage\ArtboxImageHelper::getImage($variant->imageUrl, 'product_variant')?> | 108 | <?= \common\components\artboximage\ArtboxImageHelper::getImage($variant->imageUrl, 'product_variant')?> |
@@ -164,7 +164,7 @@ $this->registerJs (" | @@ -164,7 +164,7 @@ $this->registerJs (" | ||
164 | <ul class="product_colors"> | 164 | <ul class="product_colors"> |
165 | <?php foreach ($product->images as $image): ?> | 165 | <?php foreach ($product->images as $image): ?> |
166 | <li><a href="<?= $image->imageUrl ?>" rel="shadowbox[gal]"> | 166 | <li><a href="<?= $image->imageUrl ?>" rel="shadowbox[gal]"> |
167 | - <?= \common\components\artboximage\ArtboxImageHelper::getImage($image->imageUrl, 'product_view')?> | 167 | + <?= \common\components\artboximage\ArtboxImageHelper::getImage($image->imageUrl, 'product_trumb2')?> |
168 | </a></li> | 168 | </a></li> |
169 | <?php endforeach; ?> | 169 | <?php endforeach; ?> |
170 | </ul> | 170 | </ul> |