Commit aaa41b58cf7d4f0a84fdabf9d5b9b816582c26d8

Authored by Administrator
1 parent 36e6fca2

image size

common/config/main.php
@@ -100,6 +100,7 @@ return [ @@ -100,6 +100,7 @@ return [
100 'product_view' => [ 100 'product_view' => [
101 'resize' => [ 101 'resize' => [
102 'width' => 392, 102 'width' => 392,
  103 + 'height' => null,
103 'master' => null 104 'master' => null
104 ], 105 ],
105 ], 106 ],
frontend/views/catalog/product.php
@@ -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_trumb2')?> 167 + <?= \common\components\artboximage\ArtboxImageHelper::getImage($image->imageUrl, 'product_view')?>
168 </a></li> 168 </a></li>
169 <?php endforeach; ?> 169 <?php endforeach; ?>
170 </ul> 170 </ul>