It uses WideImage (not bundled) and for now only includes Thumbnailer component that allows to generate thumbnails.
Download WideImage.
Unpack image extension under your extensions directory.
Configure Thumbnailer component:
'thumbnailer'=>array( 'class'=>'ext.image.Thumbnailer', 'wideImagePath'=>'../../wideimage', // WideImage relative path from application base path 'width'=>256, 'height'=>256, ),
Yii::app()->thumbnailer->generate('path-to/image.jpg', 'path-to/thumbnail.jpg');
Total 1 comment
Hardly to call this extension, sorry. What it really do? It is using wideimage around your class instead of directly, and with predefined thumb size.
Leave a comment
Please login to leave your comment.