Source for file thumbnail.php
Documentation is available at thumbnail.php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker */
// $Id: thumbnail.php,v 1.1 2006/10/13 12:35:13 firman Exp $
require_once 'Image/Tools.php';
// Available options from request or default values
'image' => 'images/pear.png',
// Create thumbnail object
if (PEAR ::isError ($thumbnail)) {
die ($thumbnail->toString ());
// Create a thumbnail and send the result image to browser
$err = $thumbnail->display ();
if (PEAR ::isError ($err)) {
* c-hanging-comment-ender-p: nil
Documentation generated on Mon, 11 Mar 2019 14:49:14 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|