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

display series image when episodes have no image

This commit is contained in:
Luke Pulverenti 2016-12-08 00:59:43 -05:00
parent 672f3f4e85
commit 5ea7aaa406
3 changed files with 14 additions and 2 deletions

View file

@ -801,6 +801,14 @@
});
shape = 'square';
}
else if (item.SeriesId && item.SeriesPrimaryImageTag) {
url = ApiClient.getScaledImageUrl(item.SeriesId, {
type: "Primary",
maxHeight: imageHeight,
tag: item.SeriesPrimaryImageTag
});
}
html += '<div style="position:relative;">';