Posted by turadg on October 27, 2009 at 1:08am
Jump to:
| Project: | Gravatar integration |
| Version: | 6.x-1.7 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I recently enabled site_user_list.module on my site to let users see who else is registered:
http://drupal.org/project/site_user_list
The problem is that the avatar column comes up empty because users' gravatars aren't stored in the DB. I think the solution is to cache them per #334630: Cache gravatar images locally.
I would just use /profile but the layout is all screwy. Maybe that's just in Acquia Marina, but in any case here's a good reason to cache gravatars, at least for admins who want it.
Comments
#1
It's currently impossible because site_user_list doesn't use the proper theme function for user pictures, it just outputs the direct value from the database into an img tag. If we wrote the gravatar url into the {user}.picture field, it won't work normally when the proper theme function is used.
#2
Thanks for the quick reply! I've file the issue over there in #615468: Output avatar using the proper theme function for user pictures.
#3
See node 615468
#4
Automatically closed -- issue fixed for 2 weeks with no activity.