Render high resolution Gravatars and Thumbnails
|Assignee:||Jean-Philippe Lang||% Done:|
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.
Whitespace-only reorg of ApplicationHelper#thumbnail_tag (#24927).
Patch by Jan Schulz-Hofen.
#3 Updated by Jan from Planio www.plan.io 7 months ago
#8 Updated by Jan from Planio www.plan.io 7 months ago
- File 0003-Whitespace-only-reorg-of-ApplicationHelper-thumbnail.patch added
- File 0004-set-thumbnail-width-on-image-tag-to-avoid-too-wide-w.patch added
Thanks for pointing this out. I'm adding two more patches which fix this problem. To me it looks like a bug in Firefox, though...
- File 24927-effect-gravatar.png added
- Target version changed from Candidate for next minor release to 3.4.0
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.