Login   Register  
PHP Classes
elePHPant
Icontem

Thumbs: generate thumbnails of image files in a directory

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-10-09 (9 years ago) RSS 2.0 feedStarStarStarStar 60%Total: 2,233 This week: 1All time: 1,637 This week: 1,319Up
Version License Categories  
thumbs 1.0Free for non-commercial...Graphics, Files and Folders
Description Author  

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.

Picture of Ilja Müller
Name: Ilja Müller <contact>
Classes: 1 package by
Country: Germany Germany
Age: 35
All time rank: 124480 in Germany Germany
Week rank: 1043 Up49 in Germany Germany Up

  Files folder image Files  
File Role Description
Files folder imagetemplates (3 files)
Plain text file class_thumbs.php Class Class Thumbs
Accessible without login Plain text file sample.php Example sample for the class Thumbs
Accessible without login Plain text file readme.txt Doc. read it, if you get problems ^^
Plain text file class_dias.php Class Class Dias (additional class - not required)
Accessible without login Plain text file sample_dias.php Example sample for the class Dias

  Files folder image Files  /  templates  
File Role Description
  Accessible without login Plain text file dias.htm Data main template for dias output
  Accessible without login Plain text file cell.htm Data template for a single cell of the table
  Accessible without login Plain text file fname.htm Data template for filenames

 Version Control Unique User Downloads Download Rankings  
 0%Total:2,233All time:1,637
 This week:1This week:1,319Up
User Ratings User Comments (1)  
 All time
Utility:78%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:71%StarStarStarStar
Examples:67%StarStarStarStar
Tests:-
Videos:-
Overall:60%StarStarStarStar
Rank:842
 
Excellent
5 years ago (kishore kumar)
80%StarStarStarStarStar