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:
parent
672f3f4e85
commit
5ea7aaa406
3 changed files with 14 additions and 2 deletions
|
@ -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;">';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue