PHP Classes

Thumbnails Creation: Generate smooth thumbnail images

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 55%Total: 3,977 All time: 791 This week: 488Up
Version License Categories
thumbs_creation 1.0.0GNU General Publi...Graphics, Files and Folders
Description 

Author

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: 37
All time rank: 32126 in Brazil Brazil
Week rank: 199 Up16 in Brazil Brazil Up

  Files folder image Files (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,977
This week:0
All time:791
This week:488Up
 User Ratings  
 
 All time
Utility:81%StarStarStarStarStar
Consistency:71%StarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:55%StarStarStar
Rank:1957