You are here

function theme_image_block_random in Image 5.2

Same name and namespace in other branches
  1. 6 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 873

Code

function theme_image_block_random($images, $size) {
  $output = '';
  foreach ($images as $image) {
    $output .= l(image_display($image, $size), 'node/' . $image->nid, array(), NULL, NULL, FALSE, TRUE);
  }
  return $output;
}