To download this file, please login or click here to register
Description:
This snippet describes how to create thumbnail images on the fly using PHP. The function named createThumbs that will get three parameters. The first and the second is correspondingly the path to the directory that contains original images and the path to the directory in which thumbnails will be placed. The third parameter is the width you want for the thumbnail images.