wide-image One simple image extension for Yii framework

  1. Resources
  2. Installation
  3. Usage

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');
1 2
4 followers
348 downloads
Yii Version: 1.1
License: LGPL-3.0
Category: Others
Created on: Mar 5, 2013
Last updated: 11 years ago

Downloads

show all

Related Extensions