? 615304_profile_image_time.patch Index: imagecache_profiles.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/imagecache_profiles/imagecache_profiles.module,v retrieving revision 1.4.2.8 diff -u -p -r1.4.2.8 imagecache_profiles.module --- imagecache_profiles.module 28 Oct 2009 07:46:24 -0000 1.4.2.8 +++ imagecache_profiles.module 28 Oct 2009 08:14:38 -0000 @@ -59,9 +59,12 @@ function imagecache_profiles_preprocess_ if (isset($picture)) { $alt = t("@user's picture", array('@user' => $account->name ? $account->name : variable_get('anonymous', t('Anonymous')))); $preset = imagecache_preset($size); + $time = filemtime($picture); + $picture .= !empty($time) ? '?' . $time : ''; if (empty($preset)) { - $variables['picture'] = $default;//theme('image', $picture, $alt, $alt, '', FALSE); - } else { + $variables['picture'] = theme('image', $picture, $alt, $alt, '', FALSE); + } + else { $variables['picture'] = theme('imagecache', $preset['presetname'], $picture, $alt, $alt); if (!empty($account->uid) && user_access('access user profiles')) { $attributes = array('attributes' => array('title' => t('View user profile.')), 'html' => TRUE);