diff --git a/include/screenshot.php b/include/screenshot.php
index 6e56953..ba944ba 100644
--- a/include/screenshot.php
+++ b/include/screenshot.php
@@ -392,8 +392,8 @@ function get_thumbnail($id)
// set img tag
$imgSRC = '
';
+ '" width="'.$oScreenshot->oThumbnailImage->width.
+ '" height="'.$oScreenshot->oThumbnailImage->height.'">';
$img = '