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.

Comments

dbirider’s picture

I'm having this same problem. Has anyone come across a solution?

steve22’s picture

I ran into same problem when i tried to show avatars from user relationship in the user page.

Gabriel R.’s picture

Same problem here: a block with a list of users with their avatars shows the profile image instead of the default.

dbirider’s picture

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); } ?>

andypost’s picture

Status: Active » Closed (works as designed)

There's no ability to define preset specially for profile pages in D5 :(