This is an example of how to take a client-side screenshot of a portion of a web page. It's trivial to display this screenshot on-screen, but it's also perfectly possible to send it to the web server for publishing elsewhere. Thanks to Kamil for his Stack Overflow answer.