mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
factor device pixel ratio into downloaded image size
This commit is contained in:
parent
8cadabcbe5
commit
5677ce1011
27 changed files with 295 additions and 195 deletions
|
@ -77,7 +77,13 @@
|
|||
if (hint.PrimaryImageTag) {
|
||||
|
||||
hint.ImageTags = { Primary: hint.PrimaryImageTag };
|
||||
imgUrl = LibraryBrowser.getImageUrl(hint, "Primary", 0, { maxwidth: 150, maxheight: 150 });
|
||||
|
||||
imgUrl = ApiClient.getImageUrl(hint.ItemId, {
|
||||
type: "Primary",
|
||||
maxWidth: 150,
|
||||
maxHeight: 150,
|
||||
tag: hint.PrimaryImageTag
|
||||
});
|
||||
|
||||
}
|
||||
else if (hint.MediaType == "Game") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue