I'm attempting to personalize a wordpress wordpress plugin,where custom tag "get_publish_meta()" can be used. The code is the following:

<?php query_posts('showposts=5'); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h2>" title="<?php the_title(); ?>">
<?php the_title(); ?></h2>
<?php the_excerpt(); ?>
<?php $gallery = get_post_meta($post->ID, 'Thumbnail', $single = true); ?>
<img src="<?php echo $gallery; ?>">`

I attempted with making the parameter false and also to retrieve array values,however it returns only one value. Nevertheless its not happening.Also attempted with foreach loop following the_publish(). can anyone suggest me to possess several posts at any given time.Really I would like different image url which means several $gallery.

Thanks ahead of time.

Do this:

<?php while ( get_post_meta( $post->ID, 'Thumbnail', true ) != '' : ?>
<img src="<?php get_post_meta( $post->ID, 'Thumbnail', true ); ?>" />
<?php endwhile; ?>