ewideimage An repackaged version of WideImage

  1. Changelog
  2. Requirements
  3. Usage
  4. Resources

EWideImage is simply a version of WideImage slightly modified to work more closely with Yii.

Changelog

Version 0.0.2:

  • WideImage.php and WideImage class changed to EWideImage.php and EWideImage.
  • Doesn't need to be in any specific directory now, creates it's own alias.
  • All exceptions derive from CException now.

Requirements

  • PHP 5.2+
  • GD2 extension

Usage

Install under your extensions directory. And include it.

Yii::import('application.extensions.EWideImage.EWideImage');

Then use it:

EWideImage::load('big.png')->resize(50, 30)->saveToFile('small.jpg');
EWideImage::load('pic.jpg')->crop('center', 'center', 90, 50)->output('png');

Resources

WideImage Project Home

8 0
11 followers
1 841 downloads
Yii Version: 1.1
License: LGPL-3.0
Category: Others
Developed by: Luke Jurgs
Created on: Oct 31, 2011
Last updated: 5 years ago

Downloads

show all

Related Extensions