Download the PHP package petersonsilvadejesus/yii2-image-manager without Composer
On this page you can find all versions of the php package petersonsilvadejesus/yii2-image-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download petersonsilvadejesus/yii2-image-manager
More information about petersonsilvadejesus/yii2-image-manager
Files in petersonsilvadejesus/yii2-image-manager
Package yii2-image-manager
Short Description A Yii2 module/widget for upload and cropping images
License BSD-3-Clause
Homepage https://github.com/petersonsilvadejesus/yii2-image-manager
Informations about the package yii2-image-manager
Image manager for Yii2
A Yii2 module/widget for upload, manage and cropping images
Installation
The preferred way to install this extension is through composer.
- Either run
or add
to the require section of your application's composer.json
file.
-
Run the migrate to create the ImageManager table
- Add a new component in
components
section of your application's configuration file, for example:
and in modules
section, for example:
Usage
To reach the imagemanager module go to:
To load the image picker see below (make sure you have a field in you table where the module can store 'id' of the ImageManager table):
If you want to use a image:
Support CKEditor & TinyMce
For using the filebrowser in CKEditor add the filebrowserImageBrowseUrl to the clientOptions of the CKEditor widget. I test it only for the CKEditor from 2amigOS but it need to work on other CKEditor widgets.
For using the filebrowser in TinyMce add the file_browser_callback to the clientOptions of the TinyMce widget. I test it only for the TinyMce from 2amigOS but it need to work on other TinyMce widgets. (don't forget add 'image' to your 'plugins' array)
All versions of yii2-image-manager with dependencies
yiisoft/yii2-bootstrap4 Version *
petersonsilvadejesus/yii2-image-resize Version *
kartik-v/yii2-widget-fileinput Version @dev