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

fixes #924 - Seasons - backdrop shown instead of thumb

This commit is contained in:
Luke Pulverenti 2014-09-15 23:39:13 -04:00
parent 22eb703c65
commit f518e2b353

View file

@ -977,6 +977,7 @@
});
forceName = true;
} else if (item.ImageTags && item.ImageTags.Primary) {
height = 400;
@ -1012,7 +1013,17 @@
tag: item.AlbumPrimaryImageTag
});
} else if (item.BackdropImageTags && item.BackdropImageTags.length) {
}
else if (item.Type == 'Season' && item.ImageTags && item.ImageTags.Thumb) {
imgUrl = ApiClient.getScaledImageUrl(item.Id, {
type: "Thumb",
maxWidth: downloadHeight,
tag: item.ImageTags.Thumb
});
}
else if (item.BackdropImageTags && item.BackdropImageTags.length) {
imgUrl = ApiClient.getScaledImageUrl(item.Id, {
type: "Backdrop",