function imagecrop_image_effect_info in Image javascript crop 7
Implements hook_image_effect_info().
File
- includes/
imagecrop.effects.inc, line 11 - Registry for the image style effects from imagecrop.
Code
function imagecrop_image_effect_info() {
$effects = array();
$effects['imagecrop_javascript'] = array(
'label' => t('Javascript crop'),
'help' => t('Create a crop with a javascript toolbox.'),
'effect callback' => 'imagecrop_effect',
'form callback' => 'imagecrop_effect_form',
'summary theme' => 'imagecrop_effect_summary',
);
$effects['imagecrop_reuse'] = array(
'label' => t('Reuse a javascript crop selection'),
'help' => 'Reuse crop selection from another javascript crop preset.',
'effect callback' => 'imagecrop_reuse_effect',
'form callback' => 'imagecrop_reuse_form',
'summary theme' => 'theme_imagecrop_reuse',
);
return $effects;
}