=== modified file 'includes/theme.inc'
--- includes/theme.inc	2010-02-25 20:57:39 +0000
+++ includes/theme.inc	2010-03-02 14:41:04 +0000
@@ -1561,11 +1561,13 @@
   $attributes = $variables['attributes'];
   $getsize = $variables['getsize'];
 
-  if (!$getsize || (is_file($path) && (list($width, $height, $type, $image_attributes) = @getimagesize($path)))) {
-    $attributes = drupal_attributes($attributes);
-    $url = file_create_url($path);
-    return '<img src="' . check_url($url) . '" alt="' . check_plain($alt) . '" title="' . check_plain($title) . '" ' . (isset($image_attributes) ? $image_attributes : '') . $attributes . ' />';
+  if ($getsize) {
+    list($width, $height, $type, $image_attributes) = @getimagesize($path);
   }
+
+  $attributes = drupal_attributes($attributes);
+  $url = file_create_url($path);
+  return '<img src="' . check_url($url) . '" alt="' . check_plain($alt) . '" title="' . check_plain($title) . '" ' . (isset($image_attributes) ? $image_attributes : '') . $attributes . ' />';
 }
 
 /**

