We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve 开发者_Go百科this questionI cant install imagic so I need to use GD..
maybe phpThumb() but latest version released May 28, 2008
Try PHPThumb http://phpthumb.gxdlabs.com/
also
WideImage http://wideimage.sourceforge.net/
The above two are part of the top50 PHP classes on Hotscripts. I wouldnt worry about the age of the last update of the script. Just because its no longer updated doesnt mean its no good. It can mean that the code has been written for a job and it achieves it to the best of its ability and there is no need to improve on it
CImage (Works with PHP GD)
Server-side image resizing and cropping on the fly with caching of generated image-files using PHP.
Requires PHP 5.3+ and soon PHP 5.4+
GITHUB https://github.com/mosbth/cimage
Another alternative would be SLIR (Works with PHP GD)
(Smart Lencioni Image Resizer) resizes images, intelligently sharpens, crops based on width:height ratios, color fills transparent GIFs and PNGs, and caches variations for optimal performance. Requires PHP 5.1.2+
Apparently it doesn't support external images. But for local it's fine.
GITHUB https://github.com/lencioni/SLIR
Author: TimThumb is no longer supported or maintained. You can read the reasons why on my blog: [TimThumb End of Life][1]
You also have TimThumb (works with PHP GD)
It's widely used in the Wordpress world. It can be implemented almost identically to phpThumb but requires PHP 5.2+
GOOGLE CODE https://code.google.com/p/timthumb/
TIMTHUMB PAGE http://www.binarymoon.co.uk/projects/timthumb/
精彩评论