You are here

function template_preprocess_img_assist_browser_thumbnail in Image Assist 6.2

Setup variables for the browser thumbnail template.

Parameters

array $vars:

File

theme/theme.inc, line 14
Theme functions for Image assist.

Code

function template_preprocess_img_assist_browser_thumbnail(&$vars) {
  $node = node_load($vars['row']->nid);
  $vars['thumbnail'] = img_assist_display($node, IMAGE_THUMBNAIL);
  $vars['path'] = url('img_assist/properties/' . $node->nid);
  $vars['title'] = $node->title;
}