Showing default pictures inside the profile page
taroza - October 6, 2008 - 09:02
| Project: | ImageCache Profiles |
| Version: | 5.x-1.4 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I want to show a block with user pictures (let's say random users) on a user page. This will cause the large images to be shown inside the block, whereas I'd expect the default ones.
See comment http://drupal.org/node/225816#comment-1041610 for some more info.

#1
I'm having this same problem. Has anyone come across a solution?
#2
I ran into same problem when i tried to show avatars from user relationship in the user page.
#3
Same problem here: a block with a list of users with their avatars shows the profile image instead of the default.
#4
I came up with a potential solution. I still a bit clueless with drupal, but this seems to work. If you have your own profile template page, you can display the avatar using the following snippit:
<?php if ($account->picture) { print theme('imagecache', 'Your custom image cache name', $account->picture, $alt, $alt, '', false); } ?>