Index: imagefield.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/imagefield/imagefield.module,v
retrieving revision 1.107
diff -u -r1.107 imagefield.module
--- imagefield.module	28 Apr 2010 21:07:59 -0000	1.107
+++ imagefield.module	28 Apr 2010 21:51:02 -0000
@@ -375,8 +375,11 @@
   $thumb_path = implode('/', $parts);
 
   // Add a timestamp to the URL to ensure it is immediately updated after editing.
-  $query_character = (variable_get('file_downloads', FILE_DOWNLOADS_PUBLIC) == FILE_DOWNLOADS_PRIVATE && variable_get('clean_url', '0') == '0') ? '&' : '?';
-  $query_string = $query_character . time();
+  $query_string = '';
+  if (isset($item['timestamp'])) {
+    $query_character = (variable_get('file_downloads', FILE_DOWNLOADS_PUBLIC) == FILE_DOWNLOADS_PRIVATE && variable_get('clean_url', '0') == '0') ? '&' : '?';
+    $query_string = $query_character . $item['timestamp'];
+  }
 
   return '<img src="'. file_create_url($thumb_path) . $query_string . '" title="' . check_plain($item['filename']) . '"  alt="' . t('Image preview') . '" />';
 }
