function imagepicker_max_scale_elem in Image Picker 7
Same name and namespace in other branches
- 6.2 imagepicker.form-elements.inc \imagepicker_max_scale_elem()
1 call to imagepicker_max_scale_elem()
- imagepicker_settings_form in ./
imagepicker.admin.inc - Function to display the imagepicker admin settings form
File
- ./
imagepicker.form-elements.inc, line 50 - @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Code
function imagepicker_max_scale_elem($default = NULL) {
return array(
'#type' => 'textfield',
'#title' => t('Maximum Scale'),
'#description' => t('Configure the maximum scale or size. leave empty for no maximum scale'),
'#size' => 10,
'#required' => FALSE,
'#default_value' => $default != NULL ? $default : imagepicker_variable_get('imagepicker_max_scale', ''),
);
}