? .settings ? image_iis.patch Index: includes/image.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/image.inc,v retrieving revision 1.24.2.1 diff -u -r1.24.2.1 image.inc --- includes/image.inc 15 Dec 2010 14:08:17 -0000 1.24.2.1 +++ includes/image.inc 16 Dec 2010 21:08:26 -0000 @@ -114,7 +114,9 @@ * 'file_size' - File size in bytes. */ function image_get_info($file) { - if (!is_file($file) && !is_uploaded_file($filepath)) { + // Proceed no further if this file doesn't exist. Some web servers (IIS) may + // not pass is_file() for newly uploaded files, so we need two checks here. + if (!is_file($file) && !is_uploaded_file($file)) { return FALSE; }