It uses WideImage (not bundled) and for now only includes Thumbnailer component that allows to generate thumbnails.
Resources ¶
Installation ¶
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,
),
Usage ¶
- Generate a thumbnail:
Yii::app()->thumbnailer->generate('path-to/image.jpg', 'path-to/thumbnail.jpg');
Whats the point of this extension?
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.
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.