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

fixes #834 - Change view of TV Shows or Interface for plugins

This commit is contained in:
Luke Pulverenti 2014-07-05 15:57:18 -04:00
parent 4318490be2
commit 495501f5aa
10 changed files with 211 additions and 38 deletions

View file

@ -353,8 +353,10 @@
if (latestItem.ImageTags.Primary) {
// Scaling 400w episode images to 80 doesn't turn out very well
var width = latestItem.Type == 'Episode' ? 160 : 80;
imgUrl = ApiClient.getScaledImageUrl(latestItem.Id, {
width: 80,
width: width,
tag: latestItem.ImageTags.Primary,
type: "Primary",
index: 0