Index: image.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/image/image.module,v
retrieving revision 1.293
diff -u -p -r1.293 image.module
--- image.module	19 Jan 2009 10:43:30 -0000	1.293
+++ image.module	19 Jan 2009 22:03:36 -0000
@@ -465,8 +465,10 @@ function image_load(&$node) {
   while ($file = db_fetch_object($result)) {
     $node->images[$file->image_size] = file_create_path($file->filepath);
   }
-
-  $original_path = $node->images[IMAGE_ORIGINAL];
+  
+  // Its possible there was an error creating the image, so don't assume 
+  // IMAGE_ORIGINAL is set.
+  $original_path = isset($node->images[IMAGE_ORIGINAL]) ? $node->images[IMAGE_ORIGINAL] : NULL;
   if (empty($original_path)) {
     // There's no original image, we're in trouble...
     return;
