From c3695da45c7fbda2dd08b4942a9c2eada54dd2d9 Mon Sep 17 00:00:00 2001 From: Karnovsky A Date: Thu, 12 May 2016 15:20:58 +0300 Subject: [PATCH] imageCache mode --- frontend/config/main.php | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) 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