From f715ac7ca2ce3c0afd0b605b100fc670b3b2ea86 Mon Sep 17 00:00:00 2001 From: Claus Vium Date: Thu, 24 Jan 2019 07:39:22 +0100 Subject: [PATCH] Fix profile image not being shown on profile page --- src/scripts/myprofile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/myprofile.js b/src/scripts/myprofile.js index 88073c1719..7554b302e8 100644 --- a/src/scripts/myprofile.js +++ b/src/scripts/myprofile.js @@ -12,7 +12,7 @@ define(["scripts/userpasswordpage", "loading", "libraryMenu", "apphost", "emby-l libraryMenu.setTitle(user.Name); var imageUrl = "css/images/logindefault.png"; if (user.PrimaryImageTag) { - ApiClient.getUserImageUrl(user.Id, { + imageUrl = ApiClient.getUserImageUrl(user.Id, { height: 200, tag: user.PrimaryImageTag, type: "Primary"