__construct() __construct(string $file = '') : void Constructor Parameters string $file path/filename of picture or stream from a DB field
setOutputFormat() setOutputFormat(string $format = 'png') : void sets the output type of the thumbnail Parameters string $format gif, jpg, png, wbmp
setMaxHeight() setMaxHeight(integer $height) : boolean sets the max. height of the thumbnail Parameters integer $height Returns boolean
setMaxWidth() setMaxWidth(integer $width) : boolean sets the max. width of the thumbnail Parameters integer $width Returns boolean
setMaxSize() setMaxSize(integer $width, integer $height) : boolean sets the max. width and height of the thumbnail passes values to the functions setMaxHeight() and setMaxWidth() Parameters integer $width integer $height Returns boolean
setQualityOutput() setQualityOutput(boolean $boolean = TRUE) : void whether to create thumbs fast or with good quality Parameters boolean $boolean
outputThumbnail() outputThumbnail(string $format = 'png', integer $quality = 75) : void outputs the thumbnail to the browser Parameters string $format integer $quality
returnThumbnail() returnThumbnail() : mixed returns the variable with the thumbnail image Returns mixed
setThumbnailSize() setThumbnailSize() : void sets the actual width and height of the thumbnail based on the source image size and the max limits for the thumbnail