diff --git a/inc/media.php b/inc/media.php index 55f2fbf..c796743 100644 --- a/inc/media.php +++ b/inc/media.php @@ -179,7 +179,7 @@ class Media extends PhpObject { if(!file_exists($sThumbPath)) { switch($sType) { case 'image': - $asThumbInfo = ToolBox::createThumbnail($sMediaPath, self::THUMB_MAX_WIDTH, 0, $sThumbPath, false, array('jpg', 'jpeg', 'gif', 'png'), false, true); + $asThumbInfo = ToolBox::createThumbnail($sMediaPath, self::THUMB_MAX_WIDTH, 0, $sThumbPath); break; case 'video': //Get a screenshot of the video 1 second in