Re: Image Resizing
| From: | Ólafur Waage | Date: | Sat, 20 Dec 2008 20:59:37 +0000 |
| Subject: | Re: Image Resizing | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-284895@lists.php.net to get a copy of this message | ||
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@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
>
>