Commit d23b8a4da44d155694e3796dc913e84a56b28c8f
Merge remote-tracking branch 'origin/master'
Showing
2 changed files
with
9 additions
and
2 deletions
Show diff stats
common/config/main.php
| @@ -97,6 +97,13 @@ return [ | @@ -97,6 +97,13 @@ return [ | ||
| 97 | 'master' => null | 97 | 'master' => null |
| 98 | ], | 98 | ], |
| 99 | ], | 99 | ], |
| 100 | + 'product_view' => [ | ||
| 101 | + 'resize' => [ | ||
| 102 | + 'width' => 392, | ||
| 103 | + 'height' => null, | ||
| 104 | + 'master' => null | ||
| 105 | + ], | ||
| 106 | + ], | ||
| 100 | 'iam' => [ | 107 | 'iam' => [ |
| 101 | 'resize' => [ | 108 | 'resize' => [ |
| 102 | 'width' => 120, | 109 | 'width' => 120, |
| @@ -146,7 +153,7 @@ return [ | @@ -146,7 +153,7 @@ return [ | ||
| 146 | ], | 153 | ], |
| 147 | 'list' => [ | 154 | 'list' => [ |
| 148 | 'resize' => [ | 155 | 'resize' => [ |
| 149 | - 'width' => 160, | 156 | + 'width' => 134, |
| 150 | 'height' => 200, | 157 | 'height' => 200, |
| 151 | 'master' => null | 158 | 'master' => null |
| 152 | ], | 159 | ], |
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> |