support for thm video thumbnails

This commit is contained in:
orynider
2021-01-05 22:00:42 +02:00
parent 9124c6b305
commit 629b9ff561
2 changed files with 28 additions and 1 deletions

View File

@@ -245,6 +245,13 @@ class Image
$src = @imagecreatefromgif($file);
break;
}
/*
case 'thm':
{
$src = @exif_thumbnail($file, THUMBNAIL_HEIGHT, THUMBNAIL_HEIGHT, 'image/jpg');
break;
}
*/
case 'jpeg':
case 'jpg':
case 'jpe':