diff --git a/common/config/main.php b/common/config/main.php index c300a6f..ccbf7d0 100755 --- a/common/config/main.php +++ b/common/config/main.php @@ -127,6 +127,20 @@ return [ 'master' => null ], ], + 'event_list' => [ + 'resize' => [ + 'width' => 200, + 'height' => 200, + 'master' => null + ], + ], + 'slider' => [ + 'resize' => [ + 'width' => 1920, + 'height' => 480, + 'master' => null + ], + ], ] ], ], diff --git a/frontend/widgets/views/slider.php b/frontend/widgets/views/slider.php index 974a2e2..8675165 100755 --- a/frontend/widgets/views/slider.php +++ b/frontend/widgets/views/slider.php @@ -7,9 +7,10 @@ use yii\helpers\Url; ?>