PHP Classes

PHP Web Page Thumbnail Generator: Generate thumbnail images of pages with Thumbalizr

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,154 This week: 1All time: 3,278 This week: 42Up
Version License PHP version Categories
web-page-thumbnail 1.9BSD License5.0PHP 5, Graphics, Web services
Description 

Author

This class can generate thumbnail image of Web pages using the Thumbalizr API.

It can send a HTTP request to the Thumbalizr API Web server to retrieve a thumbnail image of a Web page of a given URL.

The class can store the retrieved thumbnail image in a cache file to avoid the overhead of requesting the same Web page thumbnail multiple times.

It returns the path of the cached thumbnail image file.

Picture of Yasir Siddiqui
  Performance   Level  
Name: Yasir Siddiqui <contact>
Classes: 14 packages by
Country: Pakistan Pakistan
Innovation award
Innovation award
Nominee: 8x

Winner: 1x

Details

Get Image Preview Of Any Web Page ================ This sample project demonstrates how you get image preview of any web page using thumbalizr api in PHP. It also supports caching images once geenrated. Cache and thumnail parametrs can be configured in config.php Follow the following instruction 1) Create account at http://www.thumbalizr.com/ 2) After login get API Key and replace the value in config.php Use the following code to get thumbnail of any web page <?php include_once ("Webpagepthumbnail.class.php"); $obj = new Webpagethumbnail(); $imagepath = $obj->getThumbnail("http://bing.com"); echo $imagepath; ?>

  Files folder image Files (5)  
File Role Description
Accessible without login Plain text file config.php Conf. Configuration script
Accessible without login Plain text file example.php Example Example script
Accessible without login Plain text file Instructions.txt Doc. Documentation
Accessible without login Plain text file README.md Doc. Documentation
Plain text file Webpagepthumbnail.class.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:1,154
This week:1
All time:3,278
This week:42Up