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



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

Comments

Popular posts from this blog

How to use WiFi adapter on Ubuntu 16.04 desktop PC - Realtek RTL8188EUS 802.11n Wireless USB Network Adapter Driver installation

Installation of Realtek RTL8188EUS 802.11n Wireless USB Network Adapter on Desktop PC having Ubuntu 16.04 OS My PC is running in Ubuntu 16.04 OS, recently I thought of using a dongle wife adapter to access our home's Wifi network. For this I used Realtek RTL8188EUS 802.11n Wireless USB Network Adapter ( Model No: OT-WUA950NM ) This small device cost around Rupees 250/- to Rs 300/- in India. I did the following steps for installation of this Realtek Nano Wifi Adapter: Plug Realtek RTL8188EUS 802.11n Wireless USB Network Adapter to your PC's USB port, Take the terminal application and run the command "lsusb" to list the plugged in usb devices: Myhome:~$ lsusb Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 003: ID 0bda:8179 Realtek Semiconductor Corp. R...

How to delete videos from your Youtube Watch History list?

How to Delete Individual or all videos from your Youtube Watch History list? Youtube keeps a fine record of the videos that you had watched earlier. You can view this by visiting the History section. If you want to remove the video's from the list do the following: Logon to Youtube and click on the "History" tab on the left menu to view Watch History ( Read more ) There will be check boxes corresponding to each video in the list Tick the check boxes of the videos which you want to remove Click on " Remove " button to delete the videos.

ICICI prudential Customer portal updated - Option to change password is missing - Know how to change your ICICI prudential password

Recently I received an SMS from ICICI prudential asking for login to their website's customer portal using the phone number as user Id and an autogenerated one time password given in the message as password. The SMS messsage was like this. Dear ***Cust Name*** login to your policy(ies) on www.iciciprulife.com with your user id as **mobile number*** and One time use password as ***password***


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 »
Member
Search This Blog