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);
|
||||
|
|
|
@ -93,9 +93,7 @@
|
|||
|
||||
function renderGallery(page, item) {
|
||||
|
||||
var html = '';
|
||||
|
||||
html += LibraryBrowser.getGalleryHtml(item);
|
||||
var html = LibraryBrowser.getGalleryHtml(item);
|
||||
|
||||
$('#galleryContent', page).html(html).trigger('create');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue