Skip to content

cybercog/yii2-uploadable-cropable-image

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yii2 uploadable and cropable image

Yii2 extension for upload and crop images

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist maxmirazh33/yii2-uploadable-cropable-image "*"

or add

"maxmirazh33/yii2-uploadable-cropable-image": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

echo $form->field($model, 'image')->widget('maxmirazh33\image\Widget', [
     'crop' => true,
     'width' => 600,
     'height' => 300,
]);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages

  • JavaScript 86.1%
  • PHP 9.2%
  • CSS 4.7%