Commit cbcf466f4412afba4b1a22955af0131a20fed3a3

Authored by Karnovsky A
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,8 +66,8 @@ return [
66 'artboximage' => [ 66 'artboximage' => [
67 'class' => 'common\components\artboximage\ArtboxImage', 67 'class' => 'common\components\artboximage\ArtboxImage',
68 'driver' => 'GD', //GD or Imagick 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 'presets' => [ 71 'presets' => [
72 'product' => [ 72 'product' => [
73 'resize' => [ 73 'resize' => [
@@ -93,6 +93,13 @@ return [ @@ -93,6 +93,13 @@ return [
93 'master' => null 93 'master' => null
94 ], 94 ],
95 ], 95 ],
  96 + 'product_variant' => [
  97 + 'resize' => [
  98 + 'width' => 44,
  99 + 'height' => 44,
  100 + 'master' => null
  101 + ],
  102 + ],
96 'product_list' => [ 103 'product_list' => [
97 'resize' => [ 104 'resize' => [
98 'width' => 130, 105 'width' => 130,