function image_attach_views_handler_field_iid in Image 5.2
Same name and namespace in other branches
- 5 contrib/image_attach/image_attach.module \image_attach_views_handler_field_iid()
Views handler for displaying the image.
File
- contrib/
image_attach/ image_attach.module, line 390 - image_attach.module
Code
function image_attach_views_handler_field_iid($field_info, $field_data, $value, $data) {
if ($value) {
$image = node_load($value);
return image_display($image, $field_data['options']);
}
}