Beispiel #1
0
/**
 * Same as getThumb() but returns a bigger image
 * @global string $base_url
 * @param string $path The image path
 * @return string The thumbnail url
 */
function getSlide($path)
{
    global $base_url;
    $lt = new Livethumb(array("thumbWidth" => 1980, "thumbHeight" => 1980, "fname" => basename($path), "pathToImages" => str_replace(basename($path), "", $path)));
    return $base_url . $lt->getSrc();
}
Beispiel #2
0
<?php

require_once './Livethumb.class.php';
$live = new Livethumb($_GET);
$live->getImage();