function theme_image_block_random in Image 6
Same name and namespace in other branches
- 5.2 image.module \theme_image_block_random()
Theme a random block
1 theme call to theme_image_block_random()
- image_block in ./
image.module - Implementation of hook_block.
File
- ./
image.module, line 714
Code
function theme_image_block_random($images, $size) {
$output = '';
foreach ($images as $image) {
$output .= l(image_display($image, $size), 'node/' . $image->nid, array(
'html' => TRUE,
));
}
return $output;
}