
<?php $fol = \"./img\"; // folder ze zdjęciami $prfx = \"min_\"; // prefix poprzedzający nazwy miniaturek $i = 0; { $naz[] = $t[0]; } $org = imagecreatefromjpeg($fol.\"/\".$plik); $s_org = imagesx($org); $w_org = imagesy($org); $s_min = 175; $min = imagecreatetruecolor($s_min, $w_min); imagecopyresized($min, $org, 0, 0, 0, 0, $s_min, $w_min, $s_org, $w_org); imagedestroy($org); imagejpeg($min, $fol.\"/\".$prfx.$plik, 50); imagedestroy($min); $dane[] = \"$plik|$s_org|$w_org|$prfx$plik|$s_min|$w_minn\"; $i++; } //echo \"Ilosc utworzonych miniaturek: \".$i; } ?>
W zalozeniu ma on tworzyc miniatury do pozniejszego wykorzystania - zaladowalem do folderu ok 30 zdjec - kazde po ~~300 kb i przegladarka wywala takie cus... :
Kod
ERROR
The requested URL could not be retrieved
While trying to retrieve the URL: http://yacho.100tka.net/zaczek/miniaturki.php
The following error was encountered:
Zero Sized Reply
Squid did not receive any data for this request.
Your cache administrator is webmaster.
Generated Tue, 19 Apr 2005 23:23:46 GMT by 100tka.net (squid/2.5.STABLE9)
The requested URL could not be retrieved
While trying to retrieve the URL: http://yacho.100tka.net/zaczek/miniaturki.php
The following error was encountered:
Zero Sized Reply
Squid did not receive any data for this request.
Your cache administrator is webmaster.
Generated Tue, 19 Apr 2005 23:23:46 GMT by 100tka.net (squid/2.5.STABLE9)
I zupenie nei wiem co to moze byc - bo chyba to nie wina samego squida.....