On Sat, 2008-12-20 at 20:59 +0000, Ólafur Waage wrote:

> 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
> <stephenalist...@gmail.com> 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
> >
> >
> 

RTFM

http://uk.php.net/manual/en/function.imagecopyresampled.php



Ash
www.ashleysheridan.co.uk

Reply via email to