Solution

My previous post was How To Use The Post Thumbnail In WordPress 2.9 so if you aren’t familiar with post thumbnail feature WordPress has read that post first.

Here is a little snippet to get the SRC attribute of the post thumbnail.

$thumbnail = wp_get_attachment_image_src ( get_post_thumbnail_id ( $post->ID ));

$thumbnail will be an array holding the link, the width and the height, so to get the link use $thumbnail[0].

If you have multiple thumbnail sizes (specified using add_image_size()) you can use the code bellow to get the proper image, just change size with the proper image size name.

$thumbnail = wp_get_attachment_image_src ( get_post_thumbnail_id ( $post->ID ), "size");

Updated

Thanks to ralle (from the comments bellow) for this solution

Our WordPress themes
We have a few WordPress themes that we would like you to take a look at if you want.
check out the portfolio