Dear Sol,
The script below creates a new picture with width and height ($new_w & $new_h) from an old picture ($picture). But you need to have GD (with JPEG Support) to be compiled in your PHP to use this.
<?
$new_w=50;
$new_h=50;
header("Content-type: image/jpeg");
$dst_img=ImageCreate($new_w,$new_h);
$src_img=ImageCreateFromJPEG("$picture");
ImageCopyResized($dst_img,$src_img,0,0,0,0,$new_w,$new_h,ImageSX($src_img),Image
ImageJPEG($dst_img);
?>
Usage of this script: just copy the above stuff in a file called thumbnail.php. and in a HTML file you put the following:
<IMG SRC="thumbnail.php?picture=origional.jpg">
And you'll see a smaller version!
Gr.
Kasper