diff --git a/inc/picture.php b/inc/picture.php index 0a157b1..c0920c7 100644 --- a/inc/picture.php +++ b/inc/picture.php @@ -145,7 +145,7 @@ class Picture extends PhpObject { $sPicPath = self::getPicPath($sPicName); $sThumbPath = self::getPicPath($sPicName, 'thumbnail'); - if(!file_exists($sThumbPath)) $asThumbInfo = ToolBox::createThumbnail($sPicPath, 400, 0, $sThumbPath/*, false, array('jpg', 'jpeg', 'gif', 'png'), true*/); + if(!file_exists($sThumbPath)) $asThumbInfo = ToolBox::createThumbnail($sPicPath, 400, 0, $sThumbPath, false, array('jpg', 'jpeg', 'gif', 'png'), false, true); else $asThumbInfo = array('error'=>'', 'out'=>$sThumbPath); return ($asThumbInfo['error']=='')?$asThumbInfo['out']:$sPicPath; diff --git a/masks/project.html b/masks/project.html index 440b57f..ee3f870 100755 --- a/masks/project.html +++ b/masks/project.html @@ -20,7 +20,7 @@
- +