andreosoft/yii2-image

The Codemirror extension for the Yii framework

Installs: 35

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 1

Open Issues: 0

Type:yii2-extension

dev-master 2017-07-29 09:13 UTC

This package is not auto-updated.

Last update: 2024-06-14 20:02:49 UTC


README

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