Administrator
/
baucenter
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code ยป
Commit
c3695da45c7fbda2dd08b4942a9c2eada54dd2d9
Authored by
Karnovsky A
2016-05-12 15:20:58 +0300
1 parent
b8f14fca
imageCache mode
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
frontend/config/main.php
Inline
Side-by-side
frontend/config/main.php
Wrap text
Show/Hide comments
View file @
c3695da
...
...
@@ -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],
...
...