andreosoft / yii2-image
The Codemirror extension for the Yii framework
Package info
github.com/andreosoft/yii2-image
Type:yii2-extension
pkg:composer/andreosoft/yii2-image
dev-master
2017-07-29 09:13 UTC
Requires
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2026-03-07 04:11:39 UTC
README
Image extension for Yii2
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require 'andreosoft/yii2-image'
or add
"andreosoft/yii2-image": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
....
\Yii::getAlias('@root'), 'webroot' => 'http://mysite.com/uploads', 'quality' => 50, ]; echo Image::thumb('test-image.jpg', 120, 120) ?>