I found this strip of codes in a certain website which helped me a lot in creating automatic post summaries with thumbnails. That's freakin' cool! You don't need to add any extra line of codes. It actually does it automatically, you just need to set your own preference to make it more personalized in a way. Anyway, to get the codes, go to this site.