Commit cbcf466f4412afba4b1a22955af0131a20fed3a3
1 parent
c34b3aa0
-
Showing
1 changed file
with
9 additions
and
2 deletions
Show diff stats
common/config/main.php
... | ... | @@ -66,8 +66,8 @@ return [ |
66 | 66 | 'artboximage' => [ |
67 | 67 | 'class' => 'common\components\artboximage\ArtboxImage', |
68 | 68 | 'driver' => 'GD', //GD or Imagick |
69 | - 'rootPath' => Yii::getAlias('@storage'), | |
70 | - 'rootUrl' => Yii::getAlias('/storage'), | |
69 | + 'rootPath' => Yii::getAlias('@frontend/web/images'), | |
70 | + 'rootUrl' => Yii::getAlias('/images'), | |
71 | 71 | 'presets' => [ |
72 | 72 | 'product' => [ |
73 | 73 | 'resize' => [ |
... | ... | @@ -93,6 +93,13 @@ return [ |
93 | 93 | 'master' => null |
94 | 94 | ], |
95 | 95 | ], |
96 | + 'product_variant' => [ | |
97 | + 'resize' => [ | |
98 | + 'width' => 44, | |
99 | + 'height' => 44, | |
100 | + 'master' => null | |
101 | + ], | |
102 | + ], | |
96 | 103 | 'product_list' => [ |
97 | 104 | 'resize' => [ |
98 | 105 | 'width' => 130, | ... | ... |