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 45 'class' => 'iutbay\yii2imagecache\ImageCache',
46 46 'sourcePath' => '@app/web/images',
47 47 'sourceUrl' => '@web/images',
  48 + 'resizeMode' => 'inset',
48 49 'sizes' => [
49 50 'brandlist' => [128, 128],
50 51 'product' => [300, 300],
... ...