<?php
error_reporting(E_ALL);
ini_set('display_startup_errors', 1);
ini_set('display_errors', 1);
$root = dirname(dirname(__FILE__));
require $root.'/webthumbnail.php';
$thumb = new Webthumbnail("http://webthumbnail.org");
$thumb
->setWidth(480)
->setHeight(360)
->setScreen(1280)
->captureToOutput(false);
|