thumbnail Using HTML5/Canvas/JavaScript to take in-browser screenshots - Stack Overflow