You are here

function theme_emthumb_imagecache_formatter_linked in Embedded Media Field 6.3

Same name and namespace in other branches
  1. 6 contrib/emthumb/emthumb.theme.inc \theme_emthumb_imagecache_formatter_linked()
  2. 6.2 contrib/emthumb/emthumb.theme.inc \theme_emthumb_imagecache_formatter_linked()

Returns the imagecache image linked to the node.

1 string reference to 'theme_emthumb_imagecache_formatter_linked'
emthumb_theme in contrib/emthumb/emthumb.module
Implementation of hook_theme().

File

contrib/emthumb/emthumb.theme.inc, line 18
Theme functions for the Embedded Media Thumbnail module.

Code

function theme_emthumb_imagecache_formatter_linked($element) {
  $options = _emthumb_formatter_theme_helper($element);
  $thumbnail = _emthumb_imagecache_formatter_default($element);
  return l($thumbnail, 'node/' . $options['node']->nid, array(
    'html' => TRUE,
  ));
}