function imageapi_gd_settings_form in ImageAPI 5
Same name and namespace in other branches
- 6 imageapi_gd.module \imageapi_gd_settings_form()
Settings form for the toolkit.
File
- ./
imageapi_gd.module, line 20 - GD2 toolkit functions
Code
function imageapi_gd_settings_form() {
$form['imageapi_jpeg_quality'] = array(
'#type' => 'textfield',
'#title' => t('JPEG quality'),
'#description' => t('Define the image quality for JPEG manipulations. Ranges from 0 to 100. Higher values mean better image quality, but bigger files.'),
'#size' => 10,
'#maxlength' => 3,
'#default_value' => variable_get('imageapi_jpeg_quality', 75),
'#field_suffix' => '%',
);
return system_settings_form($form);
}