function adaptive_image_image_effect_info in Adaptive Image 7
Implements hook_image_effect_info().
File
- ./
adaptive_image.module, line 70 - Adaptive Image - Adaptive images for Drupal
Code
function adaptive_image_image_effect_info() {
$effects = array();
$effects['adaptive_image'] = array(
'label' => t('Adaptive'),
'help' => t('Adaptive image scale according to client resolution.'),
'effect callback' => 'image_scale_effect',
'dimensions callback' => 'image_scale_dimensions',
'form callback' => 'adaptive_image_scale_form',
'summary theme' => 'adaptive_image_scale_summary',
);
return $effects;
}