You are here

function theme_imceimage_formatter_thumb in Imce CCK Image 6

Same name and namespace in other branches
  1. 6.2 imceimage.module \theme_imceimage_formatter_thumb()

displays the image as a link. given the class imceimage-link

File

./imceimage.module, line 337

Code

function theme_imceimage_formatter_thumb($element) {
  $item = $element['#item'];
  $field = $element['#field_name'];
  $delta = $element['#delta'];
  $id = "imceimage-" . $field . "-thumb";
  $thumb = _imceimage_get_thumb($item);
  return theme_imceimage_image($thumb['imceimage_path'], $thumb['imceimage_width'], $thumb['imceimage_height'], $thumb['imceimage_alt'], $thumb['imceimage_title'], $id);
}