Add title="" to A PHP Code
<p>I am using a code to call WP thumbnails and want to add a title="" tag.  I would like the title to call the_title... how do I do so?  I want to assign the title tribute to the image, not the link.</p>

<p>My code:</p>

<pre><code>&lt;?php if ( has_post_thumbnail() ) { the_post_thumbnail( 'thmb-archive' ); } ?&gt;
</code></pre>
