Page MenuHomePhabricator

Phabricator avatar SVG support
Open, Stalled, LowestPublicFeature

Assigned To
None
Authored By
MZMcBride
Nov 26 2014, 9:45 PM
Referenced Files
None
Tokens
"Haypence" token, awarded by Liuxinyu970226."Dislike" token, awarded by FriedhelmW."Haypence" token, awarded by Nemo_bis.

Description

It'd be neat if Phabricator supported SVG avatars.

Related Objects

StatusSubtypeAssignedTask
StalledFeatureNone
OpenNone

Event Timeline

MZMcBride raised the priority of this task from to Needs Triage.
MZMcBride updated the task description. (Show Details)
MZMcBride changed Security from none to None.
MZMcBride subscribed.
Qgil triaged this task as Lowest priority.Nov 27 2014, 7:18 AM
Qgil subscribed.

Probably related with T1016: SVG attachments are not displayed. I'd say, if fixing T1016 makes fixing this task very easy, fine. Otherwise, considering that avatars are uploaded only once in a while, users can export to PNG without much hassle.

In T76096#790548, @Qgil wrote:

Probably related with T1016: SVG attachments are not displayed. I'd say, if fixing T1016 makes fixing this task very easy, fine. Otherwise, considering that avatars are uploaded only once in a while, users can export to PNG without much hassle.

Phabricator avatars seem to be 50x50px currently. Getting a nicely rendered round shape seems pretty rough at such a low resolution/small size. SVG, on the other hand, would look crisp and beautiful (in compatible browsers).

Qgil changed the task status from Open to Stalled.Dec 17 2014, 1:43 PM

Stalled until T1016 is fixed.

epriestley subscribed.

From a technical point of view, I think this is effectively a duplicate of T1016: if we added SVG support, all contexts (including avatars, attachments, cover photos, etc) would support it. However, it currently seems unlikely that we'll add SVG support because of the very difficult security landscape and limited interest (largely only WMF).

Since this was filed, we've increased the stored resolution of avatars so they render more crisply on high DPI devices (if you upload a higher resolution source). This isn't as flexible/powerful as real SVG support, but achieves roughly the same effect in many of the most common cases (like viewing Phabricator on a 2x/Retina phone or laptop).

Aklapper changed the subtype of this task from "Task" to "Feature Request".Oct 28 2023, 2:10 PM