Fix thumbnail orientation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user