diff --git a/ext/handle_pixel/theme.php b/ext/handle_pixel/theme.php index 10dc2c24..faae1f07 100644 --- a/ext/handle_pixel/theme.php +++ b/ext/handle_pixel/theme.php @@ -30,7 +30,7 @@ class PixelFileHandlerTheme extends Themelet } $html = "main imageget_mime()}'>"; + "data-width='{$image->width}' data-height='{$image->height}' data-mime='{$image->get_mime()}'>"; $page->add_block(new Block("Image", $html, "main", 10)); } }