Yii2 Jcrop widget
Jcrop is a powerful image cropping tool for jQuery. For more than five years, Jcrop has offered web builders an easy way to add image cropping functionality to their applications. Now, in 2014, it's been totally redesigned to be better than ever. Jcrop can also be found powering image cropping functionality in popular open source software such as Wordpress, and web-based services like Gravatar.com. For more information please visit Jcrop
The preferred way to install this extension is through composer.
To install, either run
$ php composer.phar require conquer/jcrop "*"
require section of your
// Form edit view <?php use conquer\jcrop\JcropWidget; ?> ... <?= JcropWidget::widget([ 'src' => '/images/sample.jpg', ]) ?>
conquer/jcrop is released under the MIT License. See the bundled
LICENSE for details.