Index: image.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/image/image.module,v
retrieving revision 1.157
diff -u -r1.157 image.module
--- image.module	13 Jun 2005 07:48:52 -0000	1.157
+++ image.module	26 Jul 2005 14:50:21 -0000
@@ -354,7 +354,7 @@
   }
 
   $info = image_get_info(file_create_path($node->images[$label]));
-  $attr = 'width="'.$info['width'].'" height="'.$info['height'].'" ' . drupal_attributes($attributes);
+  $attr = array('width' => $info['width'], 'height' => $info['height']) + $attributes;
   $output.= '<span class="image '.$label.'">';
   $output.= theme('image', file_create_url($node->images[$label]), check_plain($node->title), check_plain($node->title), $attr, FALSE);
   $output.= "</span>\n";
