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

support new genre images

This commit is contained in:
Luke Pulverenti 2013-12-30 11:32:01 -05:00
parent f06105e688
commit 722c5a92f3
4 changed files with 16 additions and 5 deletions

View file

@ -29,9 +29,13 @@
var checkSortOption = $('.radioSortBy:checked', page);
$('.viewSummary', page).html(LibraryBrowser.getViewSummaryHtml(query, checkSortOption)).trigger('create');
html += LibraryBrowser.getPosterDetailViewHtml({
html = LibraryBrowser.getPosterViewHtml({
items: result.Items,
context: "movies"
shape: "backdrop",
preferThumb: true,
context: 'movies',
showItemCounts: true,
centerText: true
});
html += LibraryBrowser.getPagingHtml(query, result.TotalRecordCount);

View file

@ -29,9 +29,16 @@
var checkSortOption = $('.radioSortBy:checked', page);
$('.viewSummary', page).html(LibraryBrowser.getViewSummaryHtml(query, checkSortOption)).trigger('create');
html += LibraryBrowser.getPosterDetailViewHtml({
html += LibraryBrowser.getPosterViewHtml({
items: result.Items,
context: "tv"
useAverageAspectRatio: true,
shape: "backdrop",
showTitle: false,
overlayText: false,
context: 'tv',
preferThumb: true,
showItemCounts: true,
centerText: true
});
html += LibraryBrowser.getPagingHtml(query, result.TotalRecordCount);