? 493734_me_integration.patch
Index: imagecache_profiles.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/imagecache_profiles/imagecache_profiles.module,v
retrieving revision 1.4.2.11
diff -u -p -r1.4.2.11 imagecache_profiles.module
--- imagecache_profiles.module	12 Jan 2010 11:04:22 -0000	1.4.2.11
+++ imagecache_profiles.module	12 Jan 2010 11:22:58 -0000
@@ -32,7 +32,7 @@ function imagecache_profiles_preprocess_
       $size = variable_get('user_picture_imagecache_profiles_default', 0);
     }
     // If on user profile page
-    if (arg(0) == 'user' && is_numeric(arg(1)) && (arg(2) == NULL || arg(2) == 'edit')) {
+    if (arg(0) == 'user' && (is_numeric(arg(1)) || (module_exists('me') && arg(1) == me_variable_get('me_alias')) && (arg(2) == NULL || arg(2) == 'edit')) {
       if (variable_get('user_picture_imagecache_profiles', 0)) {
         $size = variable_get('user_picture_imagecache_profiles', 0);
       }
