PDA

View Full Version : Taking snapshot of my web page



rajug
01-05-2007, 10:58 AM
Hello all,

How can we take the snapshot of a page screen from javascript or any other ways. Please help me i want to take my web page's snapshot. I am creating heatmaps for my site using Ruby and javascript with the help of http://www.corunet.com 's help.

Thanx in advance.
Rajug

shachi
01-05-2007, 11:10 AM
Not with pure javascript, you can however get the prepared snap-shots from alexa.com or something similar.

rajug
01-05-2007, 11:15 AM
Thanx for the reply.

OK, do u know shachi what i need to accomplish the goal?

Rajug

codeexploiter
01-05-2007, 11:22 AM
check this out (http://bluga.net/webthumb/)

rajug
01-05-2007, 11:47 AM
Does anyone have any ideas about this? Please help me.

mburt
01-05-2007, 12:45 PM
Apparently this script (http://bluga.net/webthumb/) uses AJAX... But I'm not sure how it works yet.

shachi
01-05-2007, 01:12 PM
rajug: The easiest way is to gather thumbnails from sites such as alexa or snap.com, but seems alexa has stopped giving out free thumbnails. So you could simply goto: http://www.webshotspro.com/screenshot.php and either download that piece of softwar or simply request this(If you are using ajax) http://www.webshotspro.com/screenshot.php?url=yourescapedurl&submit=get+screenshots+of+this+website

Or simply contact the webmaster of bluga.net and request if he could let you get the thumbnails asynchoronously.

You still have another option, if you're using a linux server you can install html2jpg or html2png and then request your webserver to call that script each time you send a request with cgi or some other mechanism.

Now the choice is yours.



EDIT: Just remembered you can also use http://www.websnapr.com/