Project

General

Profile

Actions

Feature #24927

closed

Render high resolution Gravatars and Thumbnails

Feature #24927: Render high resolution Gravatars and Thumbnails

Added by Jan from Planio www.plan.io almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Category:
UI
Target version:
Resolution:
Fixed

Description

In addition to #24922, this patch implements hi-res support for Gravatars and Thumbnails using the srcset attribute. Only a DPR of 2x is supported currently.

Here, the patch will actually use separate URLs for 1x and 2x images, so that browsers supporting srcset will only load the appropriate image and will not need to scale on the client.


Files


Related issues 3 (0 open — 3 closed)

Related to Redmine - Feature #24922: Support high resolution images in formatted contentClosedJean-Philippe LangActions
Related to Redmine - Feature #11757: Add support for HDPI screens (retina)ClosedActions
Blocked by Redmine - Defect #24935: Gravatar icons in activity view are broken on r15858 and laterClosedJean-Philippe LangActions

Updated by Jan from Planio www.plan.io almost 10 years ago Actions #1

  • Related to Feature #24922: Support high resolution images in formatted content added

Updated by Jan from Planio www.plan.io almost 10 years ago Actions #2

  • File deleted (0001-Hires-2x-DPR-image-support-for-Gravatars.patch)

Updated by Go MAEDA almost 10 years ago Actions #4

  • Related to Feature #11757: Add support for HDPI screens (retina) added

Updated by Go MAEDA almost 10 years ago Actions #5

  • Blocked by Defect #24935: Gravatar icons in activity view are broken on r15858 and later added

Updated by Go MAEDA almost 10 years ago Actions #6

Thanks for the patch. Gravatar icons and thumbnails for HDPI display is beautiful.
But I see strange blank area in Firefox. Could you inspect it?

Updated by Go MAEDA almost 10 years ago Actions #9

Jan from Planio www.plan.io wrote:

Thanks for pointing this out. I'm adding two more patches which fix this problem.

Thanks, I confirmed that the problem has been fixed.

Updated by Go MAEDA almost 10 years ago Actions #10

With these patches, we can see sharp Gravatar icons and thumbnails on High DPI monitors.
High DPI monitors are becoming common these days, so I think that this feature should be included in 3.4.0.

Updated by Jean-Philippe Lang almost 10 years ago Actions #11

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Committed, thanks.

Actions

Also available in: PDF Atom