solved Gravatar module questions

blindmime
@blindmime
11 years ago
772 posts
What does the Gravatar module do for admin-created profiles that don't have a profile image?

Is there any code I need to add to my templates to get this to function?

I read on the Gravatar website where the default image can be a custom image. Would it be possible to add that option to the module? Based on Quota?
updated by @blindmime: 11/04/14 01:51:26AM
brian
@brian
11 years ago
10,149 posts
blindmime:
What does the Gravatar module do for admin-created profiles that don't have a profile image?

Is there any code I need to add to my templates to get this to function?

I read on the Gravatar website where the default image can be a custom image. Would it be possible to add that option to the module? Based on Quota?

Gravatar is all based on the email address of the user account - that's it. If the email address on the admin created account has a Gravatar account, the image will show.

You can set the "default" image type in the global config for the module (Gravatar has a few choices to choose from).

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

updated by @brian: 09/15/14 09:05:43AM
blindmime
@blindmime
11 years ago
772 posts
Beyond the few choices Gravatar serves by default, it would be nice if the module allowed us to serve a custom image (even nicer if default images could be based on quota). Serving a custom image is built into Gravatar:

Quote: What happens when an email address has no matching Gravatar image? By default, this:

[default image]

If you'd prefer to use your own default image (perhaps your logo, a funny face, whatever), then you can easily do so by supplying the URL to an image in the d= or default= parameter. The URL should be URL-encoded to ensure that it carries across correctly, for example.

updated by @blindmime: 09/17/14 03:00:18AM
brian
@brian
11 years ago
10,149 posts
The problem is there is no way to "detect" that a user's email does not have a gravatar image and show something else (at least not that I am aware of - I can check it out).


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags