1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Check for images for items without images

This commit is contained in:
ferferga 2020-05-26 14:48:34 +02:00
parent 47d017ada1
commit f3129f28ef

View file

@ -604,12 +604,14 @@ import 'programStyles';
imgTag = item.ParentBackdropImageTags[0];
}
if (imgTag && imgType) {
imgUrl = apiClient.getScaledImageUrl(item.Id, {
type: imgType,
maxHeight: height,
maxWidth: width,
tag: imgTag
});
}
return {
imgUrl: imgUrl,