--- image.module.old	2009-09-09 22:06:00.000000000 +0200
+++ image.module	2009-11-01 15:30:09.000000000 +0100
@@ -699,8 +699,8 @@
  * Theme an img tag for displaying the image.
  */
 function theme_image_display($node, $label, $url, $attributes) {
-  $title = isset($attributes['title']) ? $attributes['title'] : $node->title;
-  $alt = isset($attributes['alt']) ? $attributes['alt'] : $node->title;
+  $title = isset($attributes['title']) ? $attributes['title'] : property_exists($node, 'title') ? $node->title : '';
+  $alt = isset($attributes['alt']) ? $attributes['alt'] : property_exists($node, 'title') ? $node->title : '';
   return theme('image', $url, $alt, $title, $attributes, FALSE);
 }
 
