Re: Image Resizing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
> <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
> >
> >
> 

RTFM

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



Ash
www.ashleysheridan.co.uk

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux