Login   Register  
PHP Classes
elePHPant
Icontem

File: README.md

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Yasir Siddiqui  >  PHP Web Page Thumbnail Generator  >  README.md  >  Download  
File: README.md
Role: Documentation
Content type: text/plain
Description: Documentation
Class: PHP Web Page Thumbnail Generator
Generate thumbnail images of pages with Thumbalizr
Author: By
Last change:
Date: 1 year ago
Size: 631 bytes
 

Contents

Class file image Download
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;

?>