function image_form_add_thumbnail in Image 5.2
Same name and namespace in other branches
- 5 image.module \image_form_add_thumbnail()
- 6 image.module \image_form_add_thumbnail()
1 string reference to 'image_form_add_thumbnail'
- image_form in ./
image.module - Implementation of hook_form
File
- ./
image.module, line 534
Code
function image_form_add_thumbnail($form, $form_values) {
if ($form_values['images']['thumbnail']) {
$node = (object) $form_values;
$form['#title'] = t('Thumbnail');
$form['#value'] = image_display($node, IMAGE_THUMBNAIL);
}
return $form;
}