Home   Best Sellers   Blogging   Coding & Design   Technology   SEO   Travel & living   Career   Videos   Tips   Calculators     
Home  »     »     »     »  How to take screen shot of a website using PHP - Scripts and services to create website thumbnails

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

Friday, March 16, 2012

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 :-



IMAGEGRABWINDOW()
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 php.net



WEBSITE THUMB GENERATOR (IECAPT)

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

Download IECapt from http://iecapt.sourceforge.net 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.

Usage
webthumb.php?url=http://www.microsoft.com
webthumb.php?url=http://www.thumbnails.com&x=150&y=150

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




WEBSNAPR

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 = "http://images.websnapr.com/?size=s&url=$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
http://www.websnapr.com/ 




THUMBNAILSPRO

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 thumbnailspro.com





THUMBALIZR
Please check http://www.thumbalizr.com/premiumservices.php 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:
http://api.thumbalizr.com/?url=http://www.ford.de&width=250

Check http://api.thumbalizr.com for more details.





SNAP.COM
This website seems to provide similar function, I had not tried this...you may check this from snap.com.




SHRINKTHEWEB
ShrinkTheWeb is the most powerful, FREE website thumbnail provider Help
details



ARTVIPER
Details

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



How to link to this page?
If you wish to link to this page from your website, simply Copy and paste the above HTML code to your web page. It will appear on your page as:
How to take screen shot of a website using PHP - Scripts and services to create website thumbnails.




Share this!




comments powered by Disqus

This Weeks 7 Popular Posts


Subscribe to Recent Posts by Email
Stay connected to CROZOOM with regular Email notices of new Techie articles and IT Jobs. Updates will be delivered to your Inbox as soon as they are posted online.

Enter Your Email Address:  

Delivered by FeedBurner   RSS Feed

Search this Blog   



Urgent Openings for PHP trainees, Andriod / IOS developers and PHP developers in Kochi Trivandrum Calicut and Bangalore. Please Send Your updated resumes to recruit.vo@gmail.com   Read more »