--- flickr.inc.old	2010-11-18 08:55:27.000000000 +1100
+++ flickr.inc	2010-11-18 08:57:49.000000000 +1100
@@ -187,8 +187,10 @@ function flickr_img($photo, $size = NULL
       }
       if (isset($image_size)) {
         $img_url = $image_size['source'];
-        $attributes['height'] = $image_size['height'];
-        $attributes['width'] = $image_size['width'];
+	if (!isset($attributes['height']))
+          $attributes['height'] = $image_size['height'];
+	if (!isset($attributes['width']))
+          $attributes['width'] = $image_size['width'];
       }
     }
     else {
@@ -566,4 +568,4 @@ function flickr_get_group_photos($nsid, 
     return $response['photos'];
   }
   return FALSE;
-}
\ No newline at end of file
+}
