Commit 1a919fad550917eb30c526ba6b214cb7255ce45a
Merge remote-tracking branch 'origin/master'
# Conflicts: # backend/views/site/index.php
Showing
1 changed file
with
7 additions
and
0 deletions
Show diff stats
backend/views/site/index.php
@@ -2,6 +2,7 @@ | @@ -2,6 +2,7 @@ | ||
2 | 2 | ||
3 | /* @var $this yii\web\View */ | 3 | /* @var $this yii\web\View */ |
4 | 4 | ||
5 | + use artweb\artbox\core\helpers\ImageHelper; | ||
5 | use artweb\artbox\gentelella\widgets\XPanel; | 6 | use artweb\artbox\gentelella\widgets\XPanel; |
6 | use yii\bootstrap\Collapse; | 7 | use yii\bootstrap\Collapse; |
7 | 8 | ||
@@ -55,4 +56,10 @@ | @@ -55,4 +56,10 @@ | ||
55 | ] | 56 | ] |
56 | ); | 57 | ); |
57 | $panel::end(); | 58 | $panel::end(); |
59 | + | ||
60 | + return ImageHelper::set('@storage/test.jpg') | ||
61 | + ->resize(150, 150) | ||
62 | + ->done(); | ||
63 | + | ||
64 | + | ||
58 | ?> | 65 | ?> |
59 | \ No newline at end of file | 66 | \ No newline at end of file |