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

add poster dynamic images

This commit is contained in:
Luke Pulverenti 2015-04-02 17:01:42 -04:00
parent 782cfa7ee1
commit 908160cdbe
2 changed files with 13 additions and 1 deletions

View file

@ -51,6 +51,7 @@
<select id="selectView">
<option value="Poster">${OptionPoster}</option>
<option value="List">${OptionList}</option>
<option value="Thumb">${OptionThumb}</option>
</select>
</div>
<br />

View file

@ -74,6 +74,17 @@
lazy: true
});
}
else if (view == "Thumb") {
html = LibraryBrowser.getPosterViewHtml({
items: result.Items,
shape: "backdrop",
context: 'movies',
showTitle: true,
centerText: true,
lazy: true,
preferThumb: true
});
}
$('.noItemsMessage', page).hide();