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

added banner to the gallery

This commit is contained in:
Luke Pulverenti 2013-04-15 21:15:34 -04:00
parent 2b53479479
commit 4ebe92f997
2 changed files with 7 additions and 4 deletions

View file

@ -986,6 +986,11 @@
var imageTags = item.ImageTags || {};
if (imageTags.Banner) {
html += LibraryBrowser.createGalleryImage(item.Id, "Banner", imageTags.Banner);
}
if (imageTags.Logo) {
html += LibraryBrowser.createGalleryImage(item.Id, "Logo", imageTags.Logo);
@ -1031,7 +1036,7 @@
return html;
},
createGalleryImage: function (itemId, type, tag, index) {
createGalleryImage: function (itemId, type, tag, index) {
var downloadWidth = 400;
var lightboxWidth = 800;