i need to show the last post thumbnail only
i had the code but im now looking for code to get image
i need to place the image on the top

<?php $recent = new WP_Query("cat=1&showposts=10"); while($recent->have_posts()) : $recent->the_post();?>
<li><a href="<?php the_permalink() ?>" rel="bookmark">
<?php the_title(); ?>
<?php endwhile; ?>
<?php wp_reset_query(); ?>

To get the featured image, you can use the following code:

<?php if(has_post_thumbnail()): ?>
    <div class="image">
        <?php the_post_thumbnail(); ?>
<?php endif; ?>