Add the_thumbnail method, to output the thumbnail.