From ff97ddef7d3e9fb8eb90df00d7f0391c65eaf4b1 Mon Sep 17 00:00:00 2001 From: Tony Lambregts Date: Tue, 4 Jul 2006 02:11:09 +0000 Subject: [PATCH] Fix screenshot display by using the image class member functions instead of class internal private variables --- include/screenshot.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/screenshot.php b/include/screenshot.php index c088e8a..78a1ef9 100644 --- a/include/screenshot.php +++ b/include/screenshot.php @@ -410,14 +410,14 @@ function get_thumbnail($id) // set img tag $imgSRC = ''.$oScreenshot->sDescription.
-               ''; + '" width="'.$oScreenshot->oThumbnailImage->get_width(). + '" height="'.$oScreenshot->oThumbnailImage->get_height().'">'; $img = 'oScreenshotImage->width.','. - ($oScreenshot->oScreenshotImage->height+4). + ($oScreenshot->oScreenshotImage->get_width() + 20).','. + ($oScreenshot->oScreenshotImage->get_height() + 6). ');return false;">'.$imgSRC.''; // set image link based on user pref