You are here

function theme_gallery_image_thumbnail in Node Gallery 6

1 theme call to theme_gallery_image_thumbnail()
theme_gallery_images_list in ./node_gallery.themes.inc

File

./node_gallery.themes.inc, line 188
Node gallery themes.

Code

function theme_gallery_image_thumbnail($image, $config) {
  $output = '<div class="image-thumbnail">';
  $output .= l(theme('image_view', $config->gallery['image'], $image), 'node/' . $image->nid, array(
    'html' => TRUE,
  ));
  $output .= l($image->title, 'node/' . $image->nid);
  $output .= '</div>';
  return $output;
}