ImageMagick from PHP

If I want to make on the fly thumbnail and not just set the html tag <img src="....width=... height=...">. must I use Image magick, If it's not a MUST, can somebody tell me where can I download the script for resizing MULTIPLE image on the fly and display it to browser.
thank you
 
veedee said:
If I want to make on the fly thumbnail and not just set the html tag <img src="....width=... height=...">. must I use Image magick, If it's not a MUST, can somebody tell me where can I download the script for resizing MULTIPLE image on the fly and display it to browser.
thank you

You can also use the GD library functions if the are compiled into PHP. Refer to the PHP manual which has some excellent examples:

http://www.php.net/manual/en/ref.image.php
http://www.php.net/imagecopyresized
http://www.php.net/imagecopyresampled

I have found from my own testing that ImageMagick is much faster at resizing images though.
 
Back
Top