relative_canvas.imagecache_preset.inc in ImageCache Actions 6.2
File
tests/relative_canvas.imagecache_preset.inc
View source
<?php
$presets['relative_canvas'] = array(
'presetname' => 'relative_canvas',
'#weight' => 2.0,
'actions' => array(
0 => array(
'weight' => '0',
'module' => 'imagecache_canvasactions',
'action' => 'canvasactions_definecanvas',
'data' => array(
'RGB' => array(
'HEX' => '333333',
),
'under' => 1,
'exact' => array(
'width' => '',
'height' => '',
'xpos' => 'center',
'ypos' => 'center',
),
'relative' => array(
'leftdiff' => '10',
'rightdiff' => '10',
'topdiff' => '10',
'bottomdiff' => '10',
),
),
),
),
);