Index: functions.php
===================================================================
--- functions.php	(revision 13042)
+++ functions.php	(working copy)
@@ -554,7 +554,7 @@
 			?><a href="<?php the_permalink() ?>" class="showarrow arrow"><?php the_title(); ?></a><?php
 		}
 		if ( $html_code ) {
-			$ret = '<img src="' . $ret . '" alt="' . esc_attr( $post->post_title ) . '" />';
+			$ret = '<img src="' . $ret . '" alt="' . esc_attr( get_the_title() ) . '" />';
 		}
 		echo $ret;
 	}
