function theme_emthumb_imagecache_formatter_preview in Embedded Media Field 6
Same name and namespace in other branches
- 6.3 contrib/emthumb/emthumb.theme.inc \theme_emthumb_imagecache_formatter_preview()
- 6.2 contrib/emthumb/emthumb.theme.inc \theme_emthumb_imagecache_formatter_preview()
Returns the imagecache image linked to a preview media display.
1 string reference to 'theme_emthumb_imagecache_formatter_preview'
- emthumb_theme in contrib/
emthumb/ emthumb.module - Implementation of hook_theme().
File
- contrib/
emthumb/ emthumb.theme.inc, line 95 - Theme functions for the Embedded Media Thumbnail module.
Code
function theme_emthumb_imagecache_formatter_preview($element) {
$options = _emthumb_formatter_theme_helper($element);
$options['thumbnail'] = _emthumb_imagecache_formatter_default($element);
switch ($options['module']) {
case 'emvideo':
return theme('emvideo_video_replace_preview', $options['field'], $options['item'], $options['formatter'], $options['node'], $options);
}
}