How does WordPress generate a comment website preview?

WordPress runs a service to generate screenshots. You can get any website screenshot like this.

http://s.wordpress.com/mshots/v1/http://www.google.com?w=400&h=300

And yes, it records as a hit on website and will be logged.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)