Index: includes/image.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/image.inc,v retrieving revision 1.4 diff -u -r1.4 image.inc --- includes/image.inc 29 Mar 2005 00:01:23 -0000 1.4 +++ includes/image.inc 16 Jun 2005 16:54:44 -0000 @@ -80,7 +80,7 @@ * 'mime_type': image's MIME type ('image/jpeg', 'image/gif', etc.) */ function image_get_info($file) { - if (!file_exists($file)) { + if (!is_file($file)) { return false; } Index: includes/theme.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/theme.inc,v retrieving revision 1.228.2.5 diff -u -r1.228.2.5 theme.inc --- includes/theme.inc 31 May 2005 21:13:36 -0000 1.228.2.5 +++ includes/theme.inc 16 Jun 2005 16:54:20 -0000 @@ -472,7 +472,7 @@ * A string containing the image tag. */ function theme_image($path, $alt = '', $title = '', $attr = '', $getsize = true) { - if (!$getsize || (file_exists($path) && (list($width, $height, $type, $attr) = @getimagesize($path)))) { + if (!$getsize || (is_file($path) && (list($width, $height, $type, $image_attributes) = @getimagesize($path)))) { return ''. check_plain($alt) .''; } }