random image block

This commit is contained in:
Shish
2009-01-16 00:18:15 -08:00
parent aca8a039e1
commit 8414082c8a
2 changed files with 28 additions and 0 deletions

View 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));
}
}
?>