Index: imagecache.module
===================================================================
--- imagecache.module	(revision 172)
+++ imagecache.module	(working copy)
@@ -527,6 +527,9 @@ function imagecache_build_derivative($ac
     return FALSE;
   }
 
+  // Flush success messages.
+  drupal_get_messages();
+
   // Simply copy the file if there are no actions.
   if (empty($actions)) {
     return file_copy($src, $dst, FILE_EXISTS_REPLACE);
