Kleidi Posted July 21, 2010 Share Posted July 21, 2010 Hello there! I'm looking for a script that generates website screenshots. I want to use a script on my server bcz, i think, it will work faster than use services like webshotspro.com or any other, and have no restriction on size. I need a script that can cache the screenshot and refresh it every 2 weeks for example. Hope that you can help me on this. Thank you in advance! Quote Link to comment https://forums.phpfreaks.com/topic/208458-php-web-screenshot-generator/ Share on other sites More sharing options...
Alex Posted July 21, 2010 Share Posted July 21, 2010 Take a look at imagegrabwindow. Quote Link to comment https://forums.phpfreaks.com/topic/208458-php-web-screenshot-generator/#findComment-1089284 Share on other sites More sharing options...
ankur0101 Posted June 2, 2011 Share Posted June 2, 2011 Sorry I am replying after a year. But imagegrabwindow() works only on Windows, I am using Centos, what I can do ? Quote Link to comment https://forums.phpfreaks.com/topic/208458-php-web-screenshot-generator/#findComment-1223976 Share on other sites More sharing options...
Maximus1983 Posted August 3, 2012 Share Posted August 3, 2012 I just came across the topic and thought I would share a GrabzIt PHP API that I have recently found that would probably be ideal for you. To use it you do something like the following: include("GrabzItClient.class.php"); $filepath = "images/test.jpg"; $grabzIt = new GrabzItClient("APPLICATION KEY", "APPLICATION SECRET"); $grabzIt->SavePicture("http://www.google.com", $filepath); Note that this is the simplest technique and is synchronous they to also provide a much better asynchronous technique. You will need to register for a free application key and application secret before you can use this however. Quote Link to comment https://forums.phpfreaks.com/topic/208458-php-web-screenshot-generator/#findComment-1366557 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.