Re: PHP Thumbnail images
| From: | D. Meehan | Date: | Thu, 24 Aug 2000 23:00:48 +0000 |
| Subject: | Re: PHP Thumbnail images | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13543@lists.php.net to get a copy of this message | ||
h = height of image
w = width of image
w1 = # of pixels wide you want it to be.
x = (w1 * h) / w
x will then give you your proportional height for this image.
----- Original Message -----
From: Bob Dobalina <bobdobalina@mac.com>
To: Larry Linthicum <lists@retrieversports.net>; <php-general@lists.php.net>
Sent: Thursday, August 24, 2000 6:36 PM
Subject: [PHP] PHP Thumbnail images
> I've seen the gdlibrary can do this...
>
> my prob is this... say i set the thumbnails to 100X100
>
> well, if all the images are different sizes, this causes some of the
thumbs
> to appear blurry and distorted because it stretches them to fit into that
> space.
>
> is it possible to get the thumbnails to not do this?
>
> thanks
>
> > From: "Larry Linthicum" <lists@retrieversports.net>
> > Date: Thu, 24 Aug 2000 15:32:26 -0700
> > To: <php-general@lists.php.net>
> > Subject: [PHP] Image "thumbnails" with PHP ? or PHP PhotoAlbum?
> >
> >
> >
> > I allow users to upload pictures in .gif or .jpg format Is there
someway to
> > use PHP to copy and resize them to produce 'thumbnails"?
> >
> > The ideal end product script(s) would manage upload, copy to correct
folder,
> > create "thumbnail" and store the URLS of the images in a MySQL table.
> >
> > UMM, maybe there is already a PHP photo album script somewhere?
> >
> >
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>