View Full Version : Take a screenshot / Snapshot from a website
discoverclips
Jan 6th 2006, 6:16 am
Is it possible to take some kind of a screenshot of any website with php?
I've seen some websites that do this, can it be done with php?
n0other
Jan 6th 2006, 7:17 am
Everything's possible. You would need to have an X server running on your host if you're on a *nix machine. Launch the browser via shell command, passing site's url as an argument (should be possible no?), and take the screenshot using tool such as scrot. Crop , scale and save it - there you go. If your on a windows box, you would probably be able to use com objects, but that's not a field I know about..
dave487
Jan 6th 2006, 7:58 am
http://www.thumbshots.org/
discoverclips
Jan 6th 2006, 8:27 am
thanks for the link dave, looks good..I'll check it out :)
somebody on sitepoint pointed me to a link, you can download a program called
webswoon which is written in python that does this..
http://www.intellitamper.com/webswoon/
legend2
Jan 6th 2006, 4:12 pm
there are perl scripts around that do that. search it up:)
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.