Index: image.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/image/image.module,v
retrieving revision 1.292
diff -u -p -r1.292 image.module
--- image.module	18 Jan 2009 05:19:10 -0000	1.292
+++ image.module	19 Jan 2009 04:46:37 -0000
@@ -630,8 +630,12 @@ function image_display(&$node, $label = 
 
   $image_info = image_get_info(file_create_path($node->images[$label]));
   $attributes['class'] = "image image-$label ". (isset($attributes['class']) ? $attributes['class'] : "");
-  $attributes['width'] = $image_info['width'];
-  $attributes['height'] = $image_info['height'];
+  if (!empty($image_info['width'])) {
+    $attributes['width'] = $image_info['width'];
+  }
+  if (!empty($image_info['height'])) {
+    $attributes['height'] = $image_info['height'];
+  }
 
   return theme('image_display', $node, $label, file_create_url($node->images[$label]), $attributes);
 }
