function iek_image_effect_info in Image effect kit 7
Implements hook_image_effect_info().
File
- ./
iek.module, line 134 - Primarily Drupal hooks and global API functions to manipulate image styles.
Code
function iek_image_effect_info() {
$effects = array(
'iek_image_border' => array(
'label' => t('IEK - Border'),
'help' => t('Add border to an image'),
'effect callback' => 'iek_image_border_effect',
'form callback' => 'iek_image_border_form',
'summary theme' => 'iek_image_border_summary',
),
'iek_image_corner' => array(
'label' => t('IEK - Rounded corner'),
'help' => t('Add rounded corner to an image'),
'effect callback' => 'iek_image_corner_effect',
'form callback' => 'iek_image_corner_form',
'summary theme' => 'iek_image_corner_summary',
),
'iek_image_padding' => array(
'label' => t('IEK - Padding'),
'help' => t('Add padding to an image'),
'effect callback' => 'iek_image_padding_effect',
'form callback' => 'iek_image_padding_form',
'summary theme' => 'iek_image_padding_summary',
),
'iek_image_resize' => array(
'label' => t('IEK - Smart Resizer'),
'help' => t('Resize an image'),
'effect callback' => 'iek_image_resize_effect',
'form callback' => 'iek_image_resize_form',
'summary theme' => 'iek_image_resize_summary',
),
'iek_image_watermark' => array(
'label' => t('IEK - Watermark'),
'help' => t('Watermark an image with a text'),
'effect callback' => 'iek_image_watermark_effect',
'form callback' => 'iek_image_watermark_form',
'summary theme' => 'iek_image_watermark_summary',
),
'iek_image_overlay' => array(
'label' => t('IEK - Overlay'),
'help' => t('Apply a overlay to an image'),
'effect callback' => 'iek_image_overlay_effect',
'form callback' => 'iek_image_overlay_form',
'summary theme' => 'iek_image_overlay_summary',
),
'iek_image_filter' => array(
'label' => t('IEK - Filter'),
'help' => t('Apply a filter to an image'),
'effect callback' => 'iek_image_filter_effect',
'form callback' => 'iek_image_filter_form',
'summary theme' => 'iek_image_filter_summary',
),
);
return $effects;
}