From: Jens Frank Date: Thu, 29 Apr 2004 05:00:18 +0000 (+0000) Subject: Removed image resizing test, now done in Image::createThumb. X-Git-Tag: 1.3.0beta1~201 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=b78e9d1492ff980d314901b17443ac9af7d4e584;p=lhc%2Fweb%2Fwiklou.git Removed image resizing test, now done in Image::createThumb. The web browser will have to resize the image --- diff --git a/includes/Skin.php b/includes/Skin.php index c19b90e75b..35b6f9eb43 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -1783,10 +1783,10 @@ class Skin { $thumbUrl = $url; } else { $boxheight = intval( $height/($width/$boxwidth) ); - if ( $boxwidth > $width ) { - $boxwidth = $width; - $boxheight = $height; - } + # if ( $boxwidth > $width ) { + # $boxwidth = $width; + # $boxheight = $height; + #} $thumbUrl = $img->createThumb( $boxwidth ); } $oboxwidth = $boxwidth + 2;