Closed Bug 1589506 Opened 6 months ago Closed 6 months ago

Use high DPI avatars

Categories

(Webtools :: Pontoon, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mathjazz, Assigned: MonikaMaheshwari, Mentored)

Details

(Whiteboard: outreachyround19)

Attachments

(1 file)

We set width and height attributes on img elements in the History panel and the User menu to prevent the surrounding UI from jumping while the images are loading. We should do the same everywhere else in the app where we load images with avatars, because they have known height and width.

Then, we can also double the size of images for an improve experience on high DPI displays (e.g. Retina).

Please search for "<img" in the frontend and pontoon folders to find all the instances that need to be changed. Notable exceptions:

  • translate.js
  • in_context.html
Summary: Set width/height on <img> elements with user avatars → Use high DPI avatars
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Whiteboard: outreachyround19
You need to log in before you can comment on or make changes to this bug.