Skip to main content
Topic: All users have the same gravatar image (Read 3548 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

All users have the same gravatar image

I have small problem with gravatars on ElkArte 1.0.2.

As far as I know gravatar is image based on your email address, right? It means that it's very unlikely to have two users with the same avatar image. But somehow me and other user have the same image:


Here I guess will be the same issue, can someone choose avatar image as gravatar and check what image it will show?

Re: All users have the same gravatar image

Reply #1

Just turned on my gravatar image here, so if you see what I really look like then its working :P

Re: All users have the same gravatar image

Reply #2

hm.. do you have gravatar account?

Re: All users have the same gravatar image

Reply #3

Yes I do

Just checked and that gravatar is associated with the email address that I use here.  The site settings here are "PG"

ETA: I hashed the email address you use here and sent it to Gravatar and got the default gravatar icon, which should indicate that it can't find a hash associated with that email.
Last Edit: December 27, 2014, 09:05:44 am by Spuds

Re: All users have the same gravatar image

Reply #4

I think that I know what is going on.
ElkArte does not have default value for users who do not have gravatar account, here is screen from SMF mod:


You can choose there default style of gravatar, and it works for everyone even if user doesn't have gravatar account. Maybe this could be added in future updates?

Re: All users have the same gravatar image

Reply #5

I don't know .... I mean if they don't have a Gravatar why are they selection that option, its not how that service is really intended to be used.

Why not instead just pick one from the server or upload one?

Looking at the docs,  you can specify a default image other than the one Gravatar returns with a ?d= parameter, but it also looks like its then two http calls for each image.  One to find out it does not exist, and then one to load a non default one instead, I guess that second one is on Gravatar back to your server.

The only thing I may see us doing is,  if the admin has enabled the default avatar option, then have Gravatar return that image instead of the default G image that it does now.

Re: All users have the same gravatar image

Reply #6

In the d param you can also specify identicon, monsterid, wavatar, retro, mm and black, I think that's what phantom is referring to, that way instead of the "G" you get the "funny" stuff different for each email:

In the d param you can also specify identicon, monsterid, wavatar, retro, mm and black, I think that's what phantom is referring to, that way instead of the "G" you get the "funny" stuff different for each email:
phantomEmanuele






That's not a double call, just a different "default".

BTW, I think the url is wrong:
Code: [Select]
http://www.gravatar.com/avatar/6e0012b98c706ef18fa11c91d09f1aced=125&r=pg
it should be:
Code: [Select]
http://www.gravatar.com/avatar/6e0012b98c706ef18fa11c91d09f1ace?s=125&r=pg
Bugs creator.
Features destroyer.
Template killer.

Re: All users have the same gravatar image

Reply #7

Ah I see ...

Well I still think its silly, which only means I'm not going to make a PR for it, However others are free to do so and I'll gladly merge it in ;)

And indeed the size param looks a bit mangled there.

Re: All users have the same gravatar image

Reply #8

well, it was used as 'default avatar', but I forgot that Elk already has default avatar feature :)

Re: All users have the same gravatar image

Reply #9

Quote from: Spuds – I don't know .... I mean if they don't have a Gravatar why are they selection that option, its not how that service is really intended to be used.

Why not instead just pick one from the server or upload one?

Looking at the docs,  you can specify a default image other than the one Gravatar returns with a ?d= parameter, but it also looks like its then two http calls for each image.  One to find out it does not exist, and then one to load a non default one instead, I guess that second one is on Gravatar back to your server.

The only thing I may see us doing is,  if the admin has enabled the default avatar option, then have Gravatar return that image instead of the default G image that it does now.



Wait, the default image is a letter G?  I always thought it is supposed to be a pic of a power on/off button LOL

Re: All users have the same gravatar image

Reply #10

Gravatar default avatar has always been the gravatar logo.
ElkArte default avatar... I think its: http://www.elkarte.net/community/avatars/Oxygen/invisible-user.png
Am I right? O:-)
Bugs creator.
Features destroyer.
Template killer.


Re: All users have the same gravatar image

Reply #12

I couldn't find it in themes so I thought it was in avatars... xD
Bugs creator.
Features destroyer.
Template killer.