Class Ansel_ImageGenerator
Base class for the creation of various image views.
New thumbnail generators can be dropped in and will be made available by Ansel providing: 1. The class name is as: Ansel_ImageGenerator_{type}Thumb and filename matches, i.e. {type}Thumb.php where {type} is the unique name for your thumbnail type. 2. Implements a create() method that applies the effects to the image (see existing generators for how this works). 3. If a matching "stack" generator is desired, that should be named similarly: Ansel_ImageGenerator{type}ThumbStack with matching filename: {type}ThumbStack.php
Copyright 2007-2012 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
Direct known subclasses
Ansel_ImageGenerator_Mini, Ansel_ImageGenerator_PolaroidThumb, Ansel_ImageGenerator_PolaroidThumbStack, Ansel_ImageGenerator_RoundedThumb, Ansel_ImageGenerator_RoundedThumbStack, Ansel_ImageGenerator_Screen, Ansel_ImageGenerator_ShadowThumb, Ansel_ImageGenerator_ShadowThumbStack, Ansel_ImageGenerator_SquareThumb, Ansel_ImageGenerator_Thumb
public
Horde_ImageGenerator
|
|
public
mixed
|
|
public static
|
public
array
|
$need
Array of required, supported features for this ImageGenerator to work |
#
array()
|
public
string
|
$title
Human readable title for this thumbnail style. |