function template_preprocess_gallery_cover_view in Node Gallery 6.2
Same name and namespace in other branches
- 6 node_gallery.themes.inc \template_preprocess_gallery_cover_view()
File
- theme/
theme.inc, line 23 - theme/theme.inc Node gallery theme functions
Code
function template_preprocess_gallery_cover_view(&$vars) {
$gallery = $vars['gallery'];
$cover_image = node_gallery_get_cover($gallery);
$vars['cover_image'] = theme('image_view', $gallery->config['image_size']['cover'], $cover_image);
$vars['meta_data'] = theme('item_list', theme('gallery_meta', $gallery));
$vars['cover_operations'] = node_gallery_operations('cover', $gallery);
}