Commit d23b8a4da44d155694e3796dc913e84a56b28c8f

Authored by Karnovsky A
2 parents 7b48dca2 aaa41b58

Merge remote-tracking branch 'origin/master'

common/config/main.php
... ... @@ -97,6 +97,13 @@ return [
97 97 'master' => null
98 98 ],
99 99 ],
  100 + 'product_view' => [
  101 + 'resize' => [
  102 + 'width' => 392,
  103 + 'height' => null,
  104 + 'master' => null
  105 + ],
  106 + ],
100 107 'iam' => [
101 108 'resize' => [
102 109 'width' => 120,
... ... @@ -146,7 +153,7 @@ return [
146 153 ],
147 154 'list' => [
148 155 'resize' => [
149   - 'width' => 160,
  156 + 'width' => 134,
150 157 'height' => 200,
151 158 'master' => null
152 159 ],
... ...
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>
... ...