You are here

function spaces_design_imagecache_default_presets in Spaces 6.2

Implementation of hook_imagecache_default_presets().

File

spaces_design/spaces_design.module, line 111

Code

function spaces_design_imagecache_default_presets() {
  $presets = array();
  $presets['spaces-logo'] = array(
    'presetname' => 'spaces-logo',
    'actions' => array(
      0 => array(
        'weight' => '0',
        'module' => 'imagecache',
        'action' => 'imagecache_deprecated_scale',
        'data' => array(
          'fit' => 'inside',
          'width' => '300',
          'height' => '60',
        ),
      ),
    ),
  );
  return $presets;
}