image manipulation with php
| From: | Ross | Date: | Tue, 29 Aug 2006 15:06:43 +0000 |
| Subject: | image manipulation with php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-241185@lists.php.net to get a copy of this message | ||
I have an saved images I output with this...
<img src="includes/viewphoto.php?id=<?=$photo?>">
I want to use getimagesize() to get the height and width of the image and if
it is above a certain size then scale/ reduce it.
The problems are
(i) using getimage() without a url just my viewphoto.php script
(ii) comparing and reducing the file
Ross