U4-3323 - umbraco 7 RC: gravatar

Created by andrew shearer 05 Nov 2013, 07:23:13 Updated by Lee Kelleher 06 Nov 2013, 09:04:01

when I log in as admin i get the following 'admin' icon: http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61.jpg?s=32&d=wavatar

is this actually intentional?


andrew shearer 05 Nov 2013, 07:26:20

it looks like gravatar is returning a random image if there's no account associated with the user email? which is probably a bad thing and should just fall back to the stock umbraco icon.

Lee Kelleher 05 Nov 2013, 15:17:05

The gravatar image in question is generated by an MD5 hash of the default admin email address ("admin@example.com").

Personally I'm not a fan of the "wavatar" default type, I think it looks unprofessional. IMHO either "mm" (mystery-man) or "retro" would look better.

More details on the Gravatar docs: https://en.gravatar.com/site/implement/images/#default-image

andrew shearer 05 Nov 2013, 23:28:28

Yep, it was the unprofessional look I was getting at. I would presume most content managers don't have gravatar accounts, so showing a random one in the backoffice looks unprofessional imo.

andrew shearer 05 Nov 2013, 23:30:55

my vote is for a stock umbraco icon, or at least a config option to drive this

Per Ploug 06 Nov 2013, 08:56:24

Very valid points, for now I've switched it to mm, which is more professional :) will see if we can fall back to the umbraco logo

Lee Kelleher 06 Nov 2013, 09:04:01

Thanks Per. The default (fallback) image can be passed to Gravatar using the 'd' parameter. Although it does need to be a publicly accessible absolute URL - which is issue for localhost development and those behind a firewall.

The alternative is to use 'd=blank' which will return a transparent image, then via CSS the 'default' background-image could be the Umbraco logo?

Priority: Normal

Type: Bug

State: Fixed

Assignee: Per Ploug

Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions: 7.0.0

Due in version: 7.0.0


Story Points: