Skip to main content

How to take screen shot of a website using PHP - Scripts and services to create website thumbnails

How to create website thumbnails using PHP

Website Thumbnails (also known as PagePix, thumbshots, snapshots, or previews) are screenshots of web pages that can help you quickly and easily recognize and identify certain websites. Web page previews display the exact site you would see before you click on a link.

few solutions solution for this :-

Use of imagegrabwindow function in php. This Grabs a window or its client area using a windows handle (HWND property in COM instance) This function is only available on Windows server.
Check the use of function from


This free php script used to create website thumbnails for your needs, or start your own website thumbnail generation service.

Download IECapt from or click download IECapt. Place it in some folder on your server.
Download Website Thumbnail Generator using link below, and unzip it to the same folder.
Update webthumb.php with your settings for thumbnails folder, cache time, default thumbnail size, etc.


It will run on windows hosted server

Use of PHP Class: Get screenshot (thumbnail) of any website
This php class will get a screen shot of any website you want. It uses 3 webshotting services so if anyone of them is unavailable you can still get an image. The only problem is that every of the webshotting services returns images in different resolutions, so you should grab the image, resize it to one, standard size and then display/save. For resizing you can use imagecopyresampled function.

Download script


You can use WEBSNAPR

websnapr lets you capture screenshots of (almost) any web page. Allow your visitors to instantly visualize any web page before clicking. Increase site traffic, click-through rate and site stickiness.

 Websnapr provides free and premium service 

How to use?

      $web_shot = "$url";
      echo "<img alt="\"Screen" height="\"152\"" of="" shot="" src="%5C%22$web_shot%5C%22" website.\="" width="\"202\"" />";
Check for more details about using Websnapr service 


Another service that i came across was ThumbnailsPro (TNP), Its is a one step process to generate and display website thumbnails to your web visitors. TNP puts you in conrol of the quality, size, dimensions and other elements of your thumbnail images easily.

You may register for their free service, but it have some usuage limit. They have basic and business pakages with a feasible usage fee. They are charging as rate for 1000 hits. Check their rate chart.

More info on

Please check for more details on new parameters for API usage.
Signing up for the basic API-key is free. Additionally, you'll get some more features for online thumbnailing.

Simple syntax to use the API:

Check for more details.

This website seems to provide similar function, I had not tried may check this from

ShrinkTheWeb is the most powerful, FREE website thumbnail provider Help


Tag : How to take screen shot of a website using PHP


Popular posts from this blog

How to apply for a new ration card and what are the documents required?

List of documents required for new ration card application in Kerala and how to apply

Application for a new ration card should be addressed to Taluk Supply Officer (TSO) / City Rationing Officer (CRO) of applicant's residing area.

Primary document required are Residence certificate, Income certificate and incase the applicant's name is in another ration card then he/she should submit the reduction certificate ontained from previous TSO / CRO as proof for removing his/her name from old Ration card.

You can get the new application from your currently residing Taluk Supply Office.

Payback Points - How to redeem - How to merge multiple payback accounts - Block Payback card - Payback customer care

Joomla and Forum Integration - Integrating Forums to Joomla

Joomla is one of the most popular CMS opensource packages. It is very easier to develop website's using Joomla. You just need to download Joomla package from Joomla's Official website  and install it on your domain and later adding customizations to templates and feature and Your website is ready :). Now a days most websites provides a forum section for it users for discussing various article topics, gathering opinions etc.

Following are some best know forum opensource packages which can be integrated with Joomla and create a new forum experience for users

Urgent Openings for PHP trainees, Andriod / IOS developers and PHP developers in Kochi Trivandrum Calicut and Bangalore. Please Send Your updated resumes to   Read more »
Search This Blog