Login   Register  
PHP Classes

File: example.php

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  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Web Page Thumbnail Generator
Generate thumbnail images of pages with Thumbalizr
Author: By
Last change:
Date: 1 year ago
Size: 275 bytes


Class file image Download

include_once ("Webpagepthumbnail.class.php");

$obj = new Webpagethumbnail();

try {
$thumnailpath $obj->getThumbnail("http://bing.com");  

catch (
Exception $e) {

<img src="<?php echo $thumnailpath;?>">