You are here

function theme_image_teaser in Image 6

Same name and namespace in other branches
  1. 5.2 image.module \theme_image_teaser()
  2. 5 image.module \theme_image_teaser()

Theme a teaser

File

./image.module, line 688

Code

function theme_image_teaser($node, $size) {
  return l(image_display($node, IMAGE_THUMBNAIL), 'node/' . $node->nid, array(
    'html' => TRUE,
  ));
}