diff --git a/main/user/userInfo.php b/main/user/userInfo.php index 3a70a0de4d..e6f65974b5 100755 --- a/main/user/userInfo.php +++ b/main/user/userInfo.php @@ -431,8 +431,10 @@ elseif ($displayMode == "viewContentEdit") { $big_image_size = api_getimagesize($big_image); $big_image_width= $big_image_size['width']; $big_image_height= $big_image_size['height']; - $url_big_image = $big_image.'?rnd='.time(); - + $url_big_image = $image_array['file']; + if (!api_get_configuration_value('gravatar_enabled')) { + $url_big_image = $big_image.'?rnd='.time(); + } if ($image_array['file']=='unknown.jpg') { echo ''; } else {