Archived
1
0
Fork 0

initialer import von douth-hiphop.de's Entwicklungsstand

This commit is contained in:
Jan Dittberner 2008-08-26 13:10:33 +00:00
commit 9805cf14de
54 changed files with 1237 additions and 0 deletions

15
funktionen/thumbnail.php Normal file
View file

@ -0,0 +1,15 @@
<?
$thumbsizes = array();
$thumbwidthsum = 2;
$thumbheight = 67;
foreach ($allfiles as $filename) {
$directory = dirname($filename);
$basename = basename($filename);
$thumbfile = $directory .
DIRECTORY_SEPARATOR . $basename;
if ($thumbsize = getimagesize($thumbfile)) {
$thumbsizes[$thumbfile] = $thumbsize;
$thumbwidthsum = $thumbwidthsum + $thumbsize[0] + 3;
}
}
?>