Fix thumbnail orientation
This commit is contained in:
@@ -179,7 +179,7 @@ class Media extends PhpObject {
|
|||||||
if(!file_exists($sThumbPath)) {
|
if(!file_exists($sThumbPath)) {
|
||||||
switch($sType) {
|
switch($sType) {
|
||||||
case 'image':
|
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;
|
break;
|
||||||
case 'video':
|
case 'video':
|
||||||
//Get a screenshot of the video 1 second in
|
//Get a screenshot of the video 1 second in
|
||||||
|
|||||||
Reference in New Issue
Block a user