diff --git a/common/config/main.php b/common/config/main.php index b97e37a..19fe58d 100755 --- a/common/config/main.php +++ b/common/config/main.php @@ -66,8 +66,8 @@ return [ 'artboximage' => [ 'class' => 'common\components\artboximage\ArtboxImage', 'driver' => 'GD', //GD or Imagick - 'rootPath' => Yii::getAlias('@storage'), - 'rootUrl' => Yii::getAlias('/storage'), + 'rootPath' => Yii::getAlias('@frontend/web/images'), + 'rootUrl' => Yii::getAlias('/images'), 'presets' => [ 'product' => [ 'resize' => [ @@ -93,6 +93,13 @@ return [ 'master' => null ], ], + 'product_variant' => [ + 'resize' => [ + 'width' => 44, + 'height' => 44, + 'master' => null + ], + ], 'product_list' => [ 'resize' => [ 'width' => 130, -- libgit2 0.21.4