Index: imagefield.module
===================================================================
--- imagefield.module	(revision 188)
+++ imagefield.module	(working copy)
@@ -949,6 +949,11 @@ function imagefield_field_formatter($fie
     $item = array_merge($item, _imagefield_file_load($item['fid']));
   }
 
+  // If there is not actual file to format, do nothing.
+  if ( $item['fid'] == 0 ) {
+    return;
+  }
+
   $parts = explode('_', $formatter);
   $style = array_pop($parts);
   $fieldtype = implode('_', $parts);
