diff --git a/dashboard-ui/css/librarybrowser.css b/dashboard-ui/css/librarybrowser.css index a2da9373b1..85c688a94b 100644 --- a/dashboard-ui/css/librarybrowser.css +++ b/dashboard-ui/css/librarybrowser.css @@ -62,7 +62,7 @@ } .libraryGridImage { - width: 50px; + width: 120px; } .thName, .tdName { @@ -83,11 +83,12 @@ .libraryItemsGrid th, .libraryItemsGrid td { vertical-align: top; text-align: left; - padding: 10px; + padding: 10px 10px 5px; } .libraryItemsGrid th { padding-bottom: 1em; + padding-top: 0; } .libraryItemsGrid td { diff --git a/dashboard-ui/scripts/movies.js b/dashboard-ui/scripts/movies.js index a8af498fbb..5b3d4ed339 100644 --- a/dashboard-ui/scripts/movies.js +++ b/dashboard-ui/scripts/movies.js @@ -53,19 +53,32 @@ var url = "itemdetails.html?id=" + item.Id; - var imageTags = item.ImageTags; - html += ''; - if (imageTags.Primary) { + if (item.BackdropImageTags && item.BackdropImageTags.length) { html += ''; } + else if (item.ImageTags && item.ImageTags.Thumb) { + html += ''; + } + else if (item.ImageTags && item.ImageTags.Primary) { + html += ''; + } else { html += ''; }