PHP Classes

Thumbnails Creation: Generate smooth thumbnail images

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 58%Total: 3,976 All time: 789 This week: 263Up
Version License Categories
thumbs_creation 1.0.0GNU General Publi...Graphics, Files and Folders


This package is meant to generate thumbnails from image files located in a specified directory.

The package comes with a class that can traverse directories and list the files in them to determine which are images based on the file name extension.

A sub-class is capable of taking a list of image files and generate thumbnail images that are stored with a file name based on the path of the original image files, possibly in a different directory that is created by the class if necessary.

The thumbnail images are resized proportionally given a percentage scale value or are constrained to a given width and height values.

If GD 2 support is enabled, the images are processed in true color to provide smooth scaling.

Picture of Alfred R. Baudisch
Name: Alfred R. Baudisch <contact>
Classes: 3 packages by
Country: Brazil Brazil
Age: 36
All time rank: 32126 in Brazil Brazil
Week rank: 578 Down44 in Brazil Brazil Down

  Files folder image Files  
File Role Description
Plain text file class.files.php Class Creates lists of files of a given dir.
Plain text file class.thumbs.php Class Thumbnails creation class
Accessible without login Plain text file example.php Example Usage example of thumbs class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:789
This week:263Up
 User Ratings  
 All time