Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-33383

The "24x24" avatar URL in the REST API's "user" resource links to a 16x16 image

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Low
    • 6.0.4
    • 6.0-OD-14, 6.0, 6.0.1/OD-15
    • None

    Description

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      User resources retrieved over REST (e.g. via https://jira.atlassian.com/rest/api/latest/user?username=rfernandes ) return avatar URLs like:

      avatarUrls: {
      16x16: "https://jira.atlassian.com/secure/useravatar?size=xsmall&ownerId=rfernandes&avatarId=19490"
      24x24: "https://jira.atlassian.com/secure/useravatar?size=small&ownerId=rfernandes&avatarId=19490"
      32x32: "https://jira.atlassian.com/secure/useravatar?size=medium&ownerId=rfernandes&avatarId=19490"
      48x48: "https://jira.atlassian.com/secure/useravatar?ownerId=rfernandes&avatarId=19490"
      }
      

      However, the 24x24 ("size=small") and 16x16 ("size=xsmall") URLs both link to the same 16 by 16 pixel image.

      This seems to apply to user uploaded avatars only. For example, the following built-in avatars are correctly sized:

      ... but the following uploaded avatars aren't:

      (Side note: it seems that most uses of a 24x24 avatar in JIRA's UI use the 16x16 image, and scale it to 24x24 via CSS or image attributes, resulting in slightly degraded quality.)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rfernandes Robin Fernandes (go/robinleave) (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: