zpearl / yii2-image-area
上传图片并根据 imgAreaSelect jQuery 插件选择区域
dev-master
2016-09-22 12:47 UTC
Requires
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2024-09-20 04:55:56 UTC
README
上传图片并根据 imgAreaSelect jQuery 插件选择区域
安装
安装此扩展的首选方法是通过 composer。
运行以下命令之一:
php composer.phar require --prefer-dist zpearl/yii2-image-area "*"
或者将以下内容添加到您的 composer.json
文件的 require 部分中:
"zpearl/yii2-image-area": "*"
用法
扩展安装完成后,只需在您的代码中通过以下方式使用它:
<?= \zpearl\imgarea\AutoloadExample::widget(); ?>```