zakharov-andrew/yii2-image-upload-widget
最新稳定版本:0.0.2
Composer 安装命令:
composer require zakharov-andrew/yii2-image-upload-widget
包简介
Yii2 Image Upload Widget
README 文档
README
Yii2 widget for loading images. That widget integrates multiple file selection, drag&drop support and preview of images.
use jQuery Knob plugin (http://anthonyterrien.com/knob/)
Installation
The preferred way to install this extension is through composer.
Either run
$ composer require zakharov-andrew/yii2-image-upload-widget
or add
"zakharov-andrew/yii2-image-upload-widget": "*"
to the require section of your composer.json file.
Usage
Add this to your main configuration's modules array
'modules' => [
'imageupload' => [
'class' => 'ZakharovAndrew\imageupload\Module',
'uploadDir' => '/path/to/upload/dir/',
],
// ...
],
Note: Change the value of uploadDir to the directory for uploading images.
License
yii2-image-upload-widget it is available under a MIT License. Detailed information can be found in the LICENSE.md.
统计信息
- 总下载量: 50
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-01-22