>Is there any pre-written code available on the net to generate thumbnail >images for a picture. I mean I send the path of the image and my PHP >Script should be able to generate a gif file of size 100x71 or something >like that.
If your server has Imagemagick installed (it seems pretty common), try: `convert -size 100x71 old.gif new.gif`; That will scale your image into 100x71 pixels, and will maintain the aspect ratio. --------------------------------------------------------------------- michal migurski- contact info and pgp key: sf/ca http://mike.teczno.com/contact.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php