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:
parent
2b53479479
commit
4ebe92f997
2 changed files with 7 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue