how to automatically copy an entire directory as thumbnails using phpthumb (or some other library)
问题 I would like all images dropped in a directory to be copied into a separate directory as thumbnails that i can then view on my site. Right now i'm researching phpthumb, but have also downloaded wideimage and zen photo. Thanks if you can find an exact duplicate to this, near matches may also be helpful. Here is the script that only copies a single files: require_once '../ThumbLib.inc.php'; //include the thumb library $thumb = PhpThumbFactory::create('test.jpg'); //create a new image from the