Re: Thumbnail code that will do an entire directory at once

From: Date: Tue, 10 Jul 2001 15:50:49 +0000
Subject: Re: Thumbnail code that will do an entire directory at once
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-57158@lists.php.net to get a copy of this message
Great work scot! "Scott" <scott@graphictype.com> wrote in message news:KFEKLFMNHDILCMFAEKJCAEPBCMAA.scott@graphictype.com... > 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/

« previous php.general (#57158) next »