Location: PHPKode > scripts > EasyPhpThumbnail Class > easyphpthumbnail/example/thumbnail.php
<?php

// Example for dynamic image
// See www.mywebmymail.com for more details

if (isset($_REQUEST['thumb'])) {
    include_once('inc/easyphpthumbnail.class.php');
    // Your full path to the images
    $dir = str_replace(chr(92),chr(47),getcwd()) . '/gfx/';
    // Create the thumbnail
    $thumb = new easyphpthumbnail;
    $thumb -> Thumbsize = 300;
    $thumb -> Copyrighttext = 'MYWEBMYMAIL.COM';
    $thumb -> Copyrightposition = '50% 90%';
    $thumb -> Copyrightfonttype = $dir . 'handwriting.ttf';
    $thumb -> Copyrightfontsize = 30;
    $thumb -> Copyrighttextcolor = '#FFFFFF';    
    $thumb -> Createthumb($dir . basename($_REQUEST['thumb']));
}

?>
Return current item: EasyPhpThumbnail Class