conquer / jcrop
Yii2 Jcrop widget
Installs: 143
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- php: >=5.4.0
- bower-asset/jcrop: *
- conquer/helpers: *
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2024-11-24 04:06:05 UTC
README
Description
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
Installation
The preferred way to install this extension is through composer.
To install, either run
$ php composer.phar require conquer/jcrop "*"
or add
"conquer/jcrop": "*"
to the require
section of your composer.json
file.
Usage
Basic usage:
// Form edit view <?php use conquer\jcrop\JcropWidget; ?> ... <?= JcropWidget::widget([ 'src' => '/images/sample.jpg', ]) ?>
License
conquer/jcrop is released under the MIT License. See the bundled LICENSE
for details.