I am applying a design I have made on the Wordpress-installation. I have used the Accessories for many gallery function.

I can not however appear to discover the way i can also add a thumbnail. Are you able to assist me to?

<?php
  if( function_exists( 'attachments_get_attachments' ) )
  {
    $attachments = attachments_get_attachments();
    $total_attachments = count( $attachments );
    if( $total_attachments ) : ?>   

      <?php for( $i=0; $i<$total_attachments; $i++ ) : ?>
     <a href="<?php echo $attachments[$i]['location']; ?>" style="float:left;" rel="<?php echo $attachments[$i]['mime']; ?>"><img src="<?php echo $attachments[$i]['location']; ?>" height="100" alt="<?php echo $attachments[$i]['title']; ?>" id="<?php echo $attachments[$i]['id']; ?>"><br><?php echo $attachments[$i]['caption']; ?></a>


      <?php endfor; ?>
    <?php endif; ?>
<?php } ?>

I attempted with this particular, however it did not assist me to:

<?php the_post_thumbnail(array(200,150)); ?>

Thanks ahead of time.

I have used this: http://www.binarymoon.co.uk/demo/timthumb-basic/

... it is great!