mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add person img to itembackdrop
This commit is contained in:
parent
28dfc698b5
commit
040f4af781
1 changed files with 2 additions and 1 deletions
|
@ -467,7 +467,8 @@ define(["loading", "appRouter", "layoutManager", "userSettings", "connectionMana
|
||||||
var usePrimaryImage = item.MediaType === "Video" && item.Type !== "Movie" && item.Type !== "Trailer" ||
|
var usePrimaryImage = item.MediaType === "Video" && item.Type !== "Movie" && item.Type !== "Trailer" ||
|
||||||
item.MediaType && item.MediaType !== "Video" ||
|
item.MediaType && item.MediaType !== "Video" ||
|
||||||
item.Type === "MusicAlbum" ||
|
item.Type === "MusicAlbum" ||
|
||||||
item.Type === "MusicArtist";
|
item.Type === "MusicArtist" ||
|
||||||
|
item.Type === "Person";
|
||||||
|
|
||||||
if ("Program" === item.Type && item.ImageTags && item.ImageTags.Thumb) {
|
if ("Program" === item.Type && item.ImageTags && item.ImageTags.Thumb) {
|
||||||
imgUrl = apiClient.getScaledImageUrl(item.Id, {
|
imgUrl = apiClient.getScaledImageUrl(item.Id, {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue