SproutCMS

This is the code documentation for the SproutCMS project

file /sprout/config/file.php

View source


Image transformations

This is an array of different operations that should be applied to the image

Currently supported transformations are:
   ResizeImageTransform  ( width , height )
   CropImageTransform  ( width , height , top_pos = 'center' , left_pos = 'center')

Transformations get applied in the order they are provided in the array.

You can also create your own transformations, just implement the ImageTransform interface