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:
parent
4318490be2
commit
495501f5aa
10 changed files with 211 additions and 38 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue