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

ensure correct image tag is used

This commit is contained in:
Luke Pulverenti 2013-05-07 14:57:16 -04:00
parent 5d13610ade
commit 869219b997
2 changed files with 9 additions and 2 deletions

View file

@ -379,7 +379,14 @@
if (type == 'Backdrop') {
options.tag = item.BackdropImageTags[index];
} else {
}
else if (type == 'Screenshot') {
options.tag = item.ScreenshotImageTags[index];
}
else if (type == 'Primary') {
options.tag = item.PrimaryImageTag || item.ImageTags[type];
}
else {
options.tag = item.ImageTags[type];
}