From 09f768afdde59e8e8c2fc412b4d022a05db65479 Mon Sep 17 00:00:00 2001 From: shish Date: Fri, 11 Apr 2008 01:49:18 +0000 Subject: [PATCH] handle icons as objects in the hope of making ie7 happy git-svn-id: file:///home/shish/svn/shimmie2/trunk@797 7f39781d-f577-437e-ae19-be835c7a54ca --- contrib/handle_ico/theme.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/contrib/handle_ico/theme.php b/contrib/handle_ico/theme.php index 95639ee3..49c8a666 100644 --- a/contrib/handle_ico/theme.php +++ b/contrib/handle_ico/theme.php @@ -3,7 +3,13 @@ class IcoFileHandlerTheme extends Themelet { public function display_image($page, $image) { $ilink = $image->get_image_link(); - $html = ""; + $width = $image->width; + $height = $image->height; + $html = " + + + + "; $page->add_block(new Block("Image", $html, "main", 0)); } }