I am trying to use the code below to draw to link to a post's custom field which I have defined as an image thumbnail. For some reason the thumbnail does not display. Do I not have the bold code in the appropriate place in the loop?
<?php /*
Example template
Author: mitcho (Michael Yoshitaka Erlewine)
*/
?><h3>Related Posts</h3>
<?php if ($related_query->have_posts()):?><?php while ($related_query->have_posts()) : $related_query->the_post(); ?>
- " rel="bookmark"><?php the_title(); ?><!-- (<?php the_score(); ?>)-->
<?php if( get_post_meta($post->ID, "Thumbnail", true) ): ?>
<img style="float:left;margin:0px 5px 10px 0px;" src="<?php echo get_post_meta($post->ID, "Thumbnail", true); ?>" alt="alt text" width="70" height="200"/><?php endwhile; ?>
<?php else: ?>
<p>No related posts.</p>
<?php endif; ?>