* Optional image name/description
* Multiple image upload in modern browsers(single image upload in old browsers)
* Arrange images in gallery, using drag and drop
* Multiply image operations (edit meta information, image removal)
* Multiply localizations (currently en/ru/uk )
To use you need:
* Twitter bootstrap css (widget use some classes from it)
* Image extension
Screenshot: Screen Shot 2012-07-08 at 4.08.41 AM.png (358.67K)
Number of downloads: 664
Gallery Manager usage instructions
- Checkout source code to your project, for example to ext.galleryManager.
- Install and configure image component(bitbucket.org/z_bodya/yii-image).
- Import gallery models to project, by adding "ext.galleryManager.models.*" to import in config/main.php
- Add GalleryController to application or module controllerMap.
- Configure and save gallery model
$gallery = new Gallery(); $gallery->name = true; $gallery->description = true; $gallery->versions = array( 'small' => array( 'resize' => array(200, null), ), 'medium' => array( 'resize' => array(800, null), ) ); $gallery->save();
Render widget for gallery created above:
$this->widget('GalleryManager', array( 'gallery' => $gallery, 'controllerRoute' => '/admin/gallery', //route to gallery controller ));
Using gallery behavior is possible to add gallery to any model in application.
GalleryBehavior is under development(not tested yet) and will be finished soon, so usage examples also will be later.
Number of downloads: 158
Number of downloads: 106
Fork me on bitbucket.