SproutCMS

This is the code documentation for the SproutCMS project

function previewTransform()

On the fly image resizing

The size parameter is the new size.
The first character is taken to be the resize type, accepts 'r' or 'c'.
The width and height is specified width . 'x' . height (e.g. 200x100)

Usage

void $FileAdminController->previewTransform ( mixed $transform , mixed $filename );

Arguments

  1. $transform
  2. $filename

Return value

  • void