Active
Project:
Gravatar integration
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Jan 2011 at 00:48 UTC
Updated:
16 Aug 2011 at 21:35 UTC
This is a fantastic module. Of the many options available on the Gravatar configuration page for Default image, one missing is the ability to follow Drupal core's lead when there is no user-uploaded image and no default image provided, and simply not display anything.
This might be as simple as enabling the radio button for "Global default user image" even when "There currently is not a global default user picture specified. This setting can be adjusted in the user pictures settings."
... nope. Then it shows the Gravatar logo (as previewed). But that would be my pick for the UI.
Love the close integration with core's user pics.
Comments
Comment #1
Narno commentedyes, may be we can imagine a new radio button: "no display", "show no image" or something like that.
Comment #2
Erythros commentedI support this. It is reason why I have stopped using Gravatar module in first place. I think that using default image by setting image with background color of page is bit silly.
Comment #3
ohnobinki commentedThe problem with having `no image' as an option is that the drupal module can't know if the gravatar exists or not without making an HTTP request to gravatar.com itself first. One way I see of getting this done acceptably is by selecting gravatar's 404 option, such that the browser gets told the image doesn't exist. The other, dirtier and more heavyweight way, is to have drupal query whether or not the gravatar exists. This should likely be combined with #334630: Cache gravatar images locally, because a webserver should not be sending out a query to gravatar.com for every page load. Or just by having a simple table which caches whether or not the gravatar loaded successfully and still refering the user to gravatar.com directly.
Comment #4
BenK commentedSubscribing