Go to the source code of this file.
Namespaces | |
namespace | FDL |
Functions | |
rezizelocalimage ($img, $size, $basedest) | |
copylocalimage ($img, $size, $basedest) | |
getVaultPauth ($vid) | |
getVaultCacheImage ($vid, $size) | |
Variables | |
$size = $_GET["size"] | |
$img = $_GET["img"] | |
if(!$img) | $dir = dirname($_SERVER["SCRIPT_NAME"]) |
$ldir = DEFAULT_PUBDIR | |
if(preg_match("/vaultid=([0-9]+)/", $img, $vids)) | else |
$path = $turl["path"] | |
$basedest = "/img-cache/$size-" . basename(str_replace("/", "_", $localimage)) . ".png" | |
$dest = DEFAULT_PUBDIR . $basedest | |
else | $location = $img |
copylocalimage | ( | $img, | |
$size, | |||
$basedest | |||
) |
Definition at line 34 of file resizeimg.php.
getVaultCacheImage | ( | $vid, | |
$size | |||
) |
Definition at line 92 of file resizeimg.php.
getVaultPauth | ( | $vid | ) |
rezizelocalimage | ( | $img, | |
$size, | |||
$basedest | |||
) |
Definition at line 22 of file resizeimg.php.
$basedest = "/img-cache/$size-" . basename(str_replace("/", "_", $localimage)) . ".png" |
Definition at line 138 of file resizeimg.php.
$dest = DEFAULT_PUBDIR . $basedest |
Definition at line 139 of file resizeimg.php.
if (!$img) $dir = dirname($_SERVER["SCRIPT_NAME"]) |
Definition at line 105 of file resizeimg.php.
$img = $_GET["img"] |
Definition at line 99 of file resizeimg.php.
$ldir = DEFAULT_PUBDIR |
Definition at line 106 of file resizeimg.php.
else $location = $img |
Definition at line 150 of file resizeimg.php.
$path = $turl["path"] |
Definition at line 131 of file resizeimg.php.
$size = $_GET["size"] |
Definition at line 98 of file resizeimg.php.
if (file_exists($dest)&&filemtime($dest) >=filemtime(DEFAULT_PUBDIR."/$localimage")) else |
Definition at line 128 of file resizeimg.php.
← centre documentaire |
|