You are here

function image_views_handler_image_img_link in Image 5

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

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

File

./views.inc, line 39

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);
}