You are here

function image_views_handler_image_img_link in Image 5.2

Same name and namespace in other branches
  1. 5 views.inc \image_views_handler_image_img_link()

Views handler for displaying the image in a link to the the image node

2 string references to 'image_views_handler_image_img_link'
image_gallery_views_default_views in contrib/image_gallery/views_defaults.inc
Implementation of hook_views_default_views().
image_views_default_views in ./views_defaults.inc
Implementation of hook_views_default_views().

File

./views.inc, line 99

Code

function image_views_handler_image_img_link($fieldinfo, $fielddata, $value, $data) {
  $node = node_load($data->nid);
  return l(image_display($node, $fielddata['options']), "node/{$node->nid}", array(), NULL, NULL, FALSE, TRUE);
}