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

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

Your SBI Debit card ending with XX0000 is deactivated only for Internet txn.

SBI account holders may have received an SMS with following message, supposed to be from State Bank of India (SBI).

Your SBI Debit card ending with XX0000  is deactivated only for Internet txn. To activate send SMS "SWON ECOM 0000" to 09223966666. No change for ATM/POS usage
** Replace the four Zeros with last 4 digits of your debit card number

Recently many of the SBI account holder has losed their money due to a hi-tech ATM robbery which happened in Thiruvananthapuram, capital city of Kerala.

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