I'm trying to add a "Recent Posts" section to the sidebar that includes thumbnails. The links and recent posts do show, but instead of displaying their corresponding thumbnails, the current post's featured image gets displayed. You can see it here: http://spanishmedia.com/eepfdev/?p=1080
Here's the code I'm using as a PHP Text Box widget on the sidebar:
<?php foreach ( (array) get_posts('numberposts=5') as $_post ) : ?>
<div class="th fl">ID); ?>"><?php the_post_thumbnail ($_post->thumbnail, 'popular'); ?>
<div>ID); ?>"><?php echo $_post->post_title; ?></div>
<?php endforeach; ?>
Needless to say, any thoughts and suggestions on how to fix this problem would be greatly appreciated!