function itweak_upload_imagecache_default_presets in iTweak Upload 6.2
Implementation of hook_imagecache_default_presets().
File
- ./
itweak_upload.module, line 125 - iTweakUpload - Tweak attachments display and file upload forms.
Code
function itweak_upload_imagecache_default_presets() {
$presets = array();
$presets['AttachmentThumbnail'] = array(
'presetname' => 'AttachmentThumbnail',
'actions' => array(
0 => array(
'weight' => '0',
'module' => 'imagecache',
'action' => 'imagecache_scale_and_crop',
'data' => array(
'width' => 60,
'height' => 60,
'upscale' => 1,
),
),
),
);
return $presets;
}