https://www.bloggingthemestyles.com/setup-tutorials-for-free-themes/set-up-openness/using-the-recent-posts-widget-with-thumbnails-8/
Using the Recent Posts widget with thumbnails