i wrote a little subroutine to make a directory full of
images into thumbnails...

it'll make thumbnail images of a specified height and width
and properly resize the original image to preserve the
height to width ratio.

the syntax of make_thumbs() is this:
make_thumbs($imagedir, $thumbsdir, $size, $quality, $border);
  imagedir = original images are in this dir
  thumbsdir = thumbnails will be saved in this dir
  size = height and width for the generated thumbnails
  quality = quality of JPG output: worst(0..100)best
  border = how thick of a border to put around the image.

to see some samples of thumbnails that it's created,
and get the code, go here:
http://www.furt.com/code/make_thumbs/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to