With the built in functions (GD), you can read up on this function: http://is.php.net/manual/en/function.imagecopyresized.php If you have Imagick installed, you can read up on this: http://is.php.net/manual/en/function.imagick-thumbnailimage.php On Sat, Dec 20, 2008 at 8:38 PM, Stephen Alistoun <stephenalistoun@xxxxxxxxx> wrote: > > Hi all, > > What is the best way in PHP to Resize an Image to a specific width. > > For Example I have images in the following sizes: > > (1) 200px width and 350px height > (2) 125px width and 220px height > (3) 166px width and 455px height > > I want all the images to resize to 100px width but the height adjusts > automatically. > > Regards, > > Stephen > -- > View this message in context: http://www.nabble.com/Image-Resizing-tp21108753p21108753.html > Sent from the PHP - General mailing list archive at Nabble.com. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php