Re: How can i resize images after upload?
| From: | Jason Wong | Date: | Fri, 07 Jun 2002 02:31:24 +0000 |
| Subject: | Re: How can i resize images after upload? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-101059@lists.php.net to get a copy of this message | ||
On Friday 07 June 2002 10:09, Andre Dubuc wrote:
> <?php
> // The actual uploaded file was 320x380 in size and a jpeg (could be
> anything)
>
> print <td align='left'><img
> src='/pix/{$_SESSION['rpix']}' width='40'
> height='40'></a></td>"
> Works for me . . . no need to alter/mogrify/resize. Perhaps I am missing
> something, but after struggling with resizing, I remembered that the image
> file automatically resizes itself to whatever size or shape you put it in
> -- especially jpg/jpeg and tiff.
This doesn't resize the image, all it does is tell the browser to display the
image at a certain size!
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
I love you, not only for what you are, but for what I am when I am with you.
-- Roy Croft
*/