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.
My code:
<?php if ( has_post_thumbnail() ) { the_post_thumbnail( 'thmb-archive' ); } ?>