function uc_catalog_imagecache_default_presets in Ubercart 6.2
Implements hook_imagecache_default_presets().
File
- uc_catalog/
uc_catalog.module, line 159 - Ubercart Catalog module.
Code
function uc_catalog_imagecache_default_presets() {
$presets = array();
$presets['uc_category'] = array(
'presetname' => 'uc_category',
'actions' => array(
array(
'weight' => '0',
'module' => 'uc_category',
'action' => 'imagecache_scale',
'data' => array(
'width' => '100',
'height' => '100',
'upscale' => 0,
),
),
),
);
return $presets;
}