You are here

function theme_fancybox_formatter_imagefield in fancyBox 6

Theme ImageCache + Imagefield CCK field formatter.

1 string reference to 'theme_fancybox_formatter_imagefield'
fancybox_theme in ./fancybox.module
Implementation of hook_theme().

File

./fancybox.theme.inc, line 12
Theme functions for Fancybox module.

Code

function theme_fancybox_formatter_imagefield($element) {
  if (module_exists('imagecache') && module_exists('imagefield')) {
    $node = node_load($element['#item']['nid']);
    return fancybox_imagefield_image_imagecache($element['#field_name'], $element['#item'], $element['#formatter'], $node);
  }
}