You are here

function theme_gallery_image_lightbox2 in Node Gallery 6

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

File

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

Code

function theme_gallery_image_lightbox2($image, $config, $gallery) {
  $output = '<div class="image-thumbnail">';
  $output .= l(theme('image_view', $config->gallery['image'], $image), imagecache_create_url($config->gallery['lightbox2_gallery_preset'], $image->filepath), array(
    'html' => TRUE,
    'attributes' => array(
      'rel' => 'lightshow[hi]',
    ),
  ));
  $output .= l($image->title, 'node/' . $image->nid);
  $output .= '</div>';
  return $output;
}