forked from Cavemanon/cavepaintings
random image block
This commit is contained in:
8
contrib/random_image/theme.php
Normal file
8
contrib/random_image/theme.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
class RandomImageTheme extends Themelet {
|
||||
public function display_random(Page $page, Image $image) {
|
||||
$page->add_block(new Block("Random Image", $this->build_thumb_html($image), "left", 8));
|
||||
}
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user