function imagepicker_watermark_scaling_percentage_elem in Image Picker 7
Same name and namespace in other branches
- 6.2 imagepicker.form-elements.inc \imagepicker_watermark_scaling_percentage_elem()
2 calls to imagepicker_watermark_scaling_percentage_elem()
- imagepicker_settings_form in ./
imagepicker.admin.inc - Function to display the imagepicker admin settings form
- imagepicker_user_config_admin_form in ./
imagepicker.user.inc - Submit form
File
- ./
imagepicker.form-elements.inc, line 91 - @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Code
function imagepicker_watermark_scaling_percentage_elem($default = NULL) {
return array(
'#type' => 'textfield',
'#title' => t('Percentage'),
'#description' => t('Percentage to apply the watermark to the image.'),
'#size' => 3,
'#default_value' => $default != NULL ? $default : imagepicker_variable_get('imagepicker_watermark_scaling_percentage', 50),
);
}