Re: Question: Auto Image Resizing

From: Date: Wed, 01 Nov 2000 03:49:50 +0000
Subject: Re: Question: Auto Image Resizing
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-23075@lists.php.net to get a copy of this message
"Julia A . Case" wrote: > > Does anyone know the best way to have an image be resized for various pages > > on your website, for instance creating thumbnails dynamically rather than a > > person having to upload a regular image and a thumbnail? > > > It makes more sense (at least to me) to have both the regular and thumbnail in one directory > and not do it dynamically. You'll use less cpu cycles that way. I think she means to have the user just upload the single big image and have PHP autogenerate the thumbnail based on that image after the upload. I use the convert utility that is part of Imagemagick to do that. From memory there's an issue with transparent gifs loosing transparency that you will need to consider (if people are to be uploading transparent gifs). -- Paul McGarry mailto:paulm@opentec.com.au Systems Integrator http://www.opentec.com.au Opentec Pty Ltd http://www.iebusiness.com.au 6 Lyon Park Road Phone: (02) 9878 1744 North Ryde NSW 2113 Fax: (02) 9878 1755

« previous php.general (#23075) next »