// If on user profile page
-    if (arg(0) == 'user' && is_numeric(arg(1))) {
+   if (arg(0) == 'user' && is_numeric(arg(1)) && arg(1)== $account->uid) {
      if (variable_get('user_picture_imagecache_profiles', 0)) {
        $size = variable_get('user_picture_imagecache_profiles', 0);
      }
    }

Above patch set the picture of the user to which current user profile page belongs as profile_default (large), and pictures of all other users (such as avatars from relationship, buddylist or guestbook) on the user profile page are displayed as default (small). Can it be committed ?

Comments

charlesc’s picture

It's useful when I installed the user visits module. Thanks!

Audiowave’s picture

Does this still need to be put in when using the latest version?
Where do I put it?

Thanks

andypost’s picture

Status: Active » Closed (duplicate)