diff --git a/frontend/config/main.php b/frontend/config/main.php index 3624953..af88c26 100755 --- a/frontend/config/main.php +++ b/frontend/config/main.php @@ -45,6 +45,7 @@ return [ 'class' => 'iutbay\yii2imagecache\ImageCache', 'sourcePath' => '@app/web/images', 'sourceUrl' => '@web/images', + 'resizeMode' => 'inset', 'sizes' => [ 'brandlist' => [128, 128], 'product' => [300, 300], -- libgit2 0.21.4