Commit c3695da45c7fbda2dd08b4942a9c2eada54dd2d9

Authored by Karnovsky A
1 parent b8f14fca

imageCache mode

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
frontend/config/main.php
@@ -45,6 +45,7 @@ return [ @@ -45,6 +45,7 @@ return [
45 'class' => 'iutbay\yii2imagecache\ImageCache', 45 'class' => 'iutbay\yii2imagecache\ImageCache',
46 'sourcePath' => '@app/web/images', 46 'sourcePath' => '@app/web/images',
47 'sourceUrl' => '@web/images', 47 'sourceUrl' => '@web/images',
  48 + 'resizeMode' => 'inset',
48 'sizes' => [ 49 'sizes' => [
49 'brandlist' => [128, 128], 50 'brandlist' => [128, 128],
50 'product' => [300, 300], 51 'product' => [300, 300],