Code pulling wrong image

In a couple places on my Wordpress website <snip/>, the theme is pulling a default thumbnail image instead of the one attached to the post. Here are the two places that it is occurring and the related code. Anyone know how I can get this to pull the correct thumbnail like it does for the other posts on the homepage?

Bottom of homepage (it’s working at top of page), “Free Events”…here is the code:

<div id="homepagebottom">

			<div class="hpbottom">

				<h3>Free Events</h3>

				<!--This is where the thumbnails are found for the homepage bottom section - note the custom field name for this image is "hpbottom". Recommended image size is 70x70, as the stylesheet is written for this size.-->

				<?php $recent = new WP_Query("cat=1&showposts=3"); while($recent->have_posts()) : $recent->the_post();?>
				<?php if( get_post_meta($post->ID, "hpbottom", true) ): ?>
				    <a href="<?php the_permalink() ?>" rel="bookmark"><img style="float:left;margin:0px 10px 0px 0px;" src="<?php echo get_post_meta($post->ID, "hpbottom", true); ?>" alt="<?php the_title(); ?>" /></a>
				<?php else: ?>
				   	<a href="<?php the_permalink() ?>" rel="bookmark"><img style="float:left;margin:0px 10px 0px 0px;"  src="<?php bloginfo('template_url'); ?>/images/thumbnail.png" alt="<?php the_title(); ?>" /></a>
				<?php endif; ?>
				<b><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></b>
				<?php the_content_limit(350, "[Read more of this review]"); ?>

				<div style="border-bottom:1px dotted #2255AA; margin-bottom:10px; padding:0px 0px 10px 0px; clear:both;"></div>

				<?php endwhile; ?>

				<!--This is where you can specify the archive link for each section. Replace the # with the appropriate URL-->

				<b><a href="#" rel="bookmark">See More Free Events</a></b>

			</div>  

		</div>

Archive page, when looking at posts by category…here is the code:

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
			<h1><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>

			<div class="date">

				<div class="dateleft">
					<p><span class="time"><?php the_time('F j, Y'); ?></span> by <?php the_author_posts_link(); ?> &nbsp;<?php edit_post_link('(Edit)', '', ''); ?> <br />
				</div>

				<div class="dateright">
					<p><span class="comment"><?php comments_popup_link('Leave a Comment', '1 Comment', '% Comments'); ?></span></p>
				</div>

			</div>

			<div style="clear:both;"></div>
		<a href="<?php the_permalink() ?>" rel="bookmark"><img style="float:left;margin:0px 10px 0px 0px;"  src="<?php bloginfo('template_url'); ?>/images/thumbnail.png" alt="<?php the_title(); ?>" /></a>
			<?php the_excerpt(__('Read more'));?><div style="clear:both;"></div>

			<?php endwhile; else: ?>

I don’t need an answer to the question I posted. I found the solution soon after posting it. Geez, hours of work and minutes after I decide to ask here, the solution comes to me. Sitepoint is awesome. lol

Often the way :wink: