mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-16 18:38:25 -07:00
added screenshot images
This commit is contained in:
parent
58e5eea325
commit
d87dd85f1f
@ -163,6 +163,7 @@
|
||||
|
||||
var imageTags = item.ImageTags || {};
|
||||
var html = '';
|
||||
var i, length;
|
||||
|
||||
if (imageTags.Logo) {
|
||||
|
||||
@ -193,12 +194,19 @@
|
||||
|
||||
if (item.BackdropImageTags) {
|
||||
|
||||
for (var i = 0, length = item.BackdropImageTags.length; i < length; i++) {
|
||||
for (i = 0, length = item.BackdropImageTags.length; i < length; i++) {
|
||||
html += createGalleryImage(item.Id, "Backdrop", item.BackdropImageTags[0], i);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (item.ScreenshotImageTags) {
|
||||
|
||||
for (i = 0, length = item.ScreenshotImageTags.length; i < length; i++) {
|
||||
html += createGalleryImage(item.Id, "Screenshot", item.ScreenshotImageTags[0], i);
|
||||
}
|
||||
}
|
||||
|
||||
$('#galleryContent', page).html(html).trigger('create');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user