function imagefield_crop_field_widget_info in Imagefield Crop 7.2
Same name and namespace in other branches
- 7.3 imagefield_crop.module \imagefield_crop_field_widget_info()
- 7 imagefield_crop.module \imagefield_crop_field_widget_info()
Implements hook_field_widget_info().
File
- ./
imagefield_crop.module, line 424 - Functionality and Drupal hook implementations for the Imagefield Crop module.
Code
function imagefield_crop_field_widget_info() {
return array(
'imagefield_crop_widget' => array(
'label' => t('Image with cropping'),
'field types' => array(
'imagefield_crop',
),
'settings' => array(
'progress_indicator' => 'throbber',
'preview_image_style' => 'thumbnail',
'preview_image_width' => '',
'collapsible' => 2,
'resolution' => '200x150',
'validate_resolution' => 0,
'enforce_ratio' => TRUE,
'custom_ratio' => '',
'enforce_minimum' => TRUE,
'croparea' => '500x500',
'gif_processing' => 'convert',
'select_maximum_area' => TRUE,
),
'behaviors' => array(
'multiple values' => FIELD_BEHAVIOR_CUSTOM,
'default value' => FIELD_BEHAVIOR_NONE,
),
),
);
}