Frankly I'm too lazy to make my own so can anyone recommend a good php class to resize images? I only need to resize JPG the only important thing is
say my picture is 700x600. I'd like to specify a max width/height of 100x100, and it will resize to 100x86 rather than transforming it to 100x100.
Thanks!
SonicMailer Pro - Professional mailing list manager & award-winning email marketing software
Download a FREE 30-day trial today!
Use coupon savemoreon4 and save 10%!






pr0gr4mm3r posted this at 22:41—3rd April 2007.
He has: 648 posts
Joined: Sep 2006
phpThumb would be your best bet.
demonhale posted this at 23:39—3rd April 2007.
He has: 3,257 posts
Joined: May 2005
Also if GD is installed on your server, you should take a look at it's functionalities. GD lib has a bunch of image manipulation available for you...
Visit my New Blog Gee, Please... | Designer Graphics 9
pr0gr4mm3r posted this at 23:57—3rd April 2007.
He has: 648 posts
Joined: Sep 2006
phpThumb makes use of the GD functions and Imagemagick depending on what's installed.
demonhale posted this at 01:01—4th April 2007.
He has: 3,257 posts
Joined: May 2005
I concur, although I like to read the code switches to develop my own resize...
Visit my New Blog Gee, Please... | Designer Graphics 9
Triexa.com posted this at 00:03—4th April 2007.
They have: 178 posts
Joined: Feb 2005
Which is more efficient - GD or ImageMagick (for image resizing)?
Busy posted this at 10:08—4th April 2007.
He has: 6,151 posts
Joined: May 2001
For basic stuff lke what your wanting they would be about the same but IM could be a fraction less code.
IMO IM (ImageMagick) has more power and control for bigger apps. but it comes down to user preference. It's like Mozilla and Opera - both do the same job well but some perfer one over the other.
<?bhb if(broken){ echo("It wasn't me
"); } ?>
Learn HTML the ez way - EzHTML.net
Some people are like slinkies, they dont really serve any purpose but they still bring a smile to your face when you push them down the stairs ...