diff --git a/contrib/handle_svg/theme.php b/contrib/handle_svg/theme.php index 15ef3a2a..89e0d212 100644 --- a/contrib/handle_svg/theme.php +++ b/contrib/handle_svg/theme.php @@ -3,10 +3,11 @@ class SVGFileHandlerTheme extends Themelet { public function display_image($page, $image) { $link = make_link("get_svg/{$image->id}/{$image->id}.svg"); + $ilink = $image->get_image_link(); // FIXME: object and embed have "height" and "width" $html = " - - + + "; $page->add_block(new Block("Image", $html, "main", 0));