Doesn't work with site_user_list module
turadg - October 27, 2009 - 01:08
| Project: | Gravatar integration |
| Version: | 6.x-1.7 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | won't fix |
Jump to:
Description
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.

#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.