function imagecache_scale_form in ImageCache 5.2
Same name and namespace in other branches
- 6.2 imagecache_actions.inc \imagecache_scale_form()
Imagecache Scale
File
- ./
imagecache_actions.inc, line 43
Code
function imagecache_scale_form($data) {
$form = imagecache_resize_form($data);
$form['upscale'] = array(
'#type' => 'checkbox',
'#default_value' => isset($data['upscale']) ? $data['upscale'] : 0,
'#title' => t('Allow Upscaling'),
'#description' => t('Let scale make images larger than their original size'),
);
return $form;
}