You are here

function theme_emthumb_imagecache_formatter_colorbox in Embedded Media Field 6.2

Returns the imagecache image linked to a modal colorbox.

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

File

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

Code

function theme_emthumb_imagecache_formatter_colorbox($element) {
  $options = _emthumb_formatter_theme_helper($element);
  $options['thumbnail'] = _emthumb_imagecache_formatter_default($element);
  switch ($options['module']) {
    case 'emvideo':
      return theme('emvideo_colorbox', $options['field'], $options['item'], $options['formatter'], $options['node'], $options);
  }
}