? CHANGELOG.txt
? imagefield_mimes.patch
Index: imagefield.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/imagefield/imagefield.module,v
retrieving revision 1.30.2.6.2.13
diff -u -r1.30.2.6.2.13 imagefield.module
--- imagefield.module	22 Apr 2007 08:07:11 -0000	1.30.2.6.2.13
+++ imagefield.module	22 Apr 2007 08:15:48 -0000
@@ -696,9 +696,8 @@
 }
 
 function theme_imagefield_image($file, $alt = '', $title = '', $attributes = NULL, $getsize = TRUE) {
-  
   $file = (array)$file;
-  if (!$getsize || (is_file($file['filepath']) && (list($width, $height, $type, $image_attributes) = @getimagesize($file['filepath'])))) {
+  if (is_file($file['filepath']) && (!$getsize || (list($width, $height, $type, $image_attributes) = @getimagesize($file['filepath'])))) {
     $attributes = drupal_attributes($attributes);
     
     $path = $file['fid'] == 'upload' ? $file['preview'] : $file['filepath'];
@@ -709,6 +708,8 @@
     return '<img src="'. check_url($url) .'" alt="'.
         check_plain($alt) .'" title="'. check_plain($title) .'" '. $image_attributes . $attributes .' />';
   }
+  // we could display default image here...
+  return '';
 }
 
 /**
