Hi, I need a PHP script that can make web page snapshot and save it on the server, user don’t need do anything, just click on link.
I looked into this a while back, you need to render the page somewhere and grab that image – EASY!!
Or so I thought. See http://stackoverflow.com/questions/757675/website-screenshots-using-php/
Some good resources within that, but I ‘gave up’ on the idea as it would require too many resources. I used the favicon of the site instead to ‘tie-in’ the link.
you want to take a snapshot of a page that the server serves?
I made an assumption that the screenshot is not of a site on the same server – like Googles search results now provide a screenshot. You know what they say about assumptions :-)
Here is a good script: html2canvas
I found this place after A LOT of googling. You can use a really simple API to auto-generate screenshots and save them down.
As an example, i just lifted this from the API page…
Hope that helps.
There are many free services out there that provide the ability to take website screenshots.
One of the best I have found is GrabzIt.
They have a free PHP API, to take a screenshot you just need to do something like:
$grabzIt = new GrabzItClient("APPLICATION KEY", "APPLICATION SECRET");
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".