Question about thumbnails on Network theme

Where exactly does the network get thumbnails from? How can I make it take the first picture found on the blog post? It seems like wordpress.com uses a screenshot of the blog if no thumbnail is available. Is it possible to do this with the network theme?