This package can be used to generate thumbnails of images stored in a given directory.
It traverses a given directory and generates thumbnails of files with the extensions .gif, .jpg and .png, ignoring files that start with _ character.
The thumbnail images files are stored in a sub-directory named thumbs. Once created, the upto date thumbnails will be skipped to avoid unnecessary reprocessing.
The thumbnails may have limited width, height or both. The thumbnail file names may have custom prefixes, eventually associated to their size limit.
The class returns a bidimensional array of images and thumb file paths.
Additionally, there is a class to output a listing thumbs as a page using a template.