Skip to content

andreosoft/yii2-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yii2-image

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) ?>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages