--- imagecache_profiles.module	2010-02-21 12:52:33.000000000 +0800
+++ imagecache_me.module	2010-02-21 19:52:18.000000000 +0800
@@ -32,7 +32,8 @@ 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);
       }
