mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-22 08:45:23 +03:00
support image stubbing
This commit is contained in:
@@ -319,10 +319,13 @@ namespace MediaBrowser.Api.Images
|
||||
|
||||
try
|
||||
{
|
||||
var size = _imageProcessor.GetImageSize(info);
|
||||
if (info.IsLocalFile)
|
||||
{
|
||||
var size = _imageProcessor.GetImageSize(info);
|
||||
|
||||
width = Convert.ToInt32(size.Width);
|
||||
height = Convert.ToInt32(size.Height);
|
||||
width = Convert.ToInt32(size.Width);
|
||||
height = Convert.ToInt32(size.Height);
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user