Commit aaa41b58cf7d4f0a84fdabf9d5b9b816582c26d8

Authored by Administrator
1 parent 36e6fca2

image size

common/config/main.php
... ... @@ -100,6 +100,7 @@ return [
100 100 'product_view' => [
101 101 'resize' => [
102 102 'width' => 392,
  103 + 'height' => null,
103 104 'master' => null
104 105 ],
105 106 ],
... ...
frontend/views/catalog/product.php
... ... @@ -164,7 +164,7 @@ $this->registerJs ("
164 164 <ul class="product_colors">
165 165 <?php foreach ($product->images as $image): ?>
166 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 168 </a></li>
169 169 <?php endforeach; ?>
170 170 </ul>
... ...