Index: modules/image/image.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/image/image.module,v
retrieving revision 1.146.2.4
diff -u -r1.146.2.4 image.module
--- modules/image/image.module	10 May 2005 14:35:09 -0000	1.146.2.4
+++ modules/image/image.module	15 May 2005 22:06:01 -0000
@@ -343,7 +343,7 @@
 function image_display($node, $size = 'preview', $attributes = array()) {
   if (!empty($node->images[$size])) {
     $info = image_get_info(file_create_path($node->images[$size]));
-    $attr = 'width="'.$info['width'].'" height="'.$info['height'].'" ' . drupal_attributes($attributes);
+    $attr = array('width' => $info['width'], 'height' => $info['height']) + $attributes;
     $output.= '<span class="image '.$size.'">';
     $output.= theme('image', file_create_url($node->images[$size]), check_plain($node->title), check_plain($node->title), $attr, FALSE);
     $output.= "</span>\n";
