Commit 729b06da7be7536ed28121745c7e458639a8fc22
1 parent
c3307cc3
-Image Helper ready
Showing
1 changed file
with
4 additions
and
2 deletions
Show diff stats
backend/views/site/index.php
| ... | ... | @@ -5,5 +5,7 @@ |
| 5 | 5 | use artweb\artbox\core\helpers\ImageHelper; |
| 6 | 6 | |
| 7 | 7 | $this->title = 'My Yii Application'; |
| 8 | - | |
| 9 | - | |
| 10 | 8 | \ No newline at end of file |
| 9 | + | |
| 10 | + echo ImageHelper::set('@storage/test.jpg') | |
| 11 | + ->strictResize(500, 500) | |
| 12 | + ->renderImage(); | |
| 11 | 13 | \ No newline at end of file | ... | ... |