? imagefield_crop.js.back
? imagefield_crop_d6_upgrade.patch
Index: imagefield_crop_file.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/imagefield_crop/Attic/imagefield_crop_file.inc,v
retrieving revision 1.1.2.2
diff -u -u -p -r1.1.2.2 imagefield_crop_file.inc
--- imagefield_crop_file.inc	29 Jan 2009 10:12:10 -0000	1.1.2.2
+++ imagefield_crop_file.inc	11 Feb 2009 19:49:10 -0000
@@ -15,6 +15,10 @@ function imagefield_crop_file_insert($fi
 function imagefield_crop_file_update(&$file) {
   // update admin thumbnail
   imagefield_file_insert($file);
+
+  // flush imagecache
+  module_invoke('imagecache', 'image_flush', $file->filepath);
+
   // update timestamp, see http://drupal.org/node/353405
   $file->timestamp = REQUEST_TIME;
   drupal_write_record('files', $file, 'fid');
