diff --git a/screenshots.php b/screenshots.php index bed8915..02b4c8d 100644 --- a/screenshots.php +++ b/screenshots.php @@ -71,22 +71,7 @@ if($hResult && mysql_num_rows($hResult)) echo html_frame_start("Version ".lookup_version_name($currentVersionId)); echo "
\n"; } - $oScreenshot = new Screenshot($oRow->id); - // generate random tag for popup window - $randName = generate_passwd(5); - // set img tag - $imgSRC = ''.$oScreenshot->description.''; - - // set image link based on user pref - $img = ''.$imgSRC.''; - if ($_SESSION['current']->isLoggedIn()) - { - if ($_SESSION['current']->getpref("window:screenshot") == "no") - { - $img = ''.$imgSRC.''; - } - } - + $img = get_thumbnail($oRow->id); // display image echo "
\n"; echo $img;