Hello I am in need of an php function / php code ,where in we can specify the link of the URL and it will just output the screenshot. I am looking for a quick solution. To suggest you how it can be done, If you have the source of phpLD then it has this feature. I just need the part mentioned above and nothing else. Please quote me a price if you want some compensation. Thanks
It's almost impossible to have PHP render a HTML page, and create a screenshot of it. Perhaps, if you have a Linux or Windows box (root), it's possible, but without it, I doubt you can do it at all. iWebTool (http://thumbnails.iwebtool.com/) offer a free service, where it converts the links in your pages to mouseover screenshots (and it's free!). Jay
include('getthumb.class'); store_image($link,'newimage.jpg'); PHP: Imagine it was that easy, but it isn't. Here is how sites do it: * Create a list of sites, usually in database/file. * Have a program that runs on a specific time frame (every 5 minutes) that will go through the list and get the images from the browser. Windows is best for such fetching, but it can also be done on Linux. You can also have on the fly creation, but you need a super fast computer, depending on the requested URLs. Peace,
For linux you have to have a server set up with X Windows. Here is a link that describes the process. http://www.zubrag.com/articles/create-website-snapshot-thumbnail.php