title: I'm using the WordPress function get_recent_posts. However I wish to include the post thumbnail
body: <p>I have browsed on here and found some examples but they don't seem to bring the image in. Here's what I've found so far. This at least shows the links to the posts, but I want need only two posts showing and I need the featured image showing.  </p>
  
  <pre><code>&lt;!-&lt;div class="recent_posts_home_container"&gt;
          &lt;h2&gt;Recent Posts&lt;/h2&gt;
              &lt;ul&gt;
                  &lt;?php
                      $recent_posts = wp_get_recent_posts();
                      foreach( $recent_posts as $recent ){
                          echo '&lt;li&gt;&lt;a href="' . get_permalink($recent["ID"]) . '" title="Look '.esc_attr($recent["post_title"]).'" &gt;' .   $recent["post_title"].'&lt;/a&gt; &lt;/li&gt; ';
                      }
                  ?&gt;
              &lt;/ul&gt;
          &lt;/div&gt; 
  &lt;!-- end recent posts div --&gt;
  </code></pre>