Re: [PHP] Generating thumbnails of JPEG/GIF images

2001-05-04 Thread Web master
I wrote a small function like the following to create my won thumbnails. function make_tumb_nail($url){ $size=GetImageSize("image/$url"); $ht=$size[1]; $wd=$size[0]; if($ht>$wd){ $h=$ht; for($i=1.01;;){ if($h<121){ break; } $h=$ht/$i; $w=$wd/$i; $i=$i+0.01; }

[PHP] Generating thumbnails of JPEG/GIF images

2001-05-04 Thread Richard
Greetings. Is there any quick way to generate thumbnails of existing pictures in a directory? It would seem quite worthless to create 120x120 images of ones that already exist, and upload duplicates.. Therefore, dynamic thumbnails would be perfect. Any solutions? PHP 4.0+ thanks. - Rich