Improve image size handling

This commit is contained in:
MrTimscampi
2020-03-11 21:31:04 +01:00
parent 0397283599
commit 8646b66f6c
11 changed files with 24 additions and 26 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ define(["apphost", "appSettings", "dom", "connectionManager", "loading", "layout
if (user.PrimaryImageTag) {
imgUrl = apiClient.getUserImageUrl(user.Id, {
width: 300 * window.devicePixelRatio,
width: 300,
tag: user.PrimaryImageTag,
type: "Primary"
});