1234567891011121314151617181920212223242526272829303132333435363738 |
- <?php
- // $ID: $
- /**
- * @file
- * Test imagecache preset.
- *
- * Created on Dec 29, 2009
- *
- * @author 'dman' Dan Morrison http://coders.co.nz/
- */
- $presets['rotate_scale'] = array (
- 'name' => 'rotate_scale',
- '#weight' => 1.2,
- 'effects' => array (
- 1 => array (
- 'weight' => '1',
- 'module' => 'image',
- 'name' => 'image_rotate',
- 'data' => array (
- 'degrees' => '15',
- 'random' => 0,
- 'bgcolor' => '',
- ),
- ),
- 2 => array (
- 'weight' => '2',
- 'module' => 'image',
- 'name' => 'image_scale',
- 'data' => array (
- 'width' => '',
- 'height' => '150',
- 'upscale' => TRUE,
- ),
- ),
- ),
- );
|