Thumbs: generate thumbnails of image files in a directory

Recommend this page to a friend!
  Info   View files (8)   Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
60%Total: 2,257 All time: 1,715 This week: 304
Version License Categories
thumbs 1.0Free for non-comm...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: 40
All time rank: 133284 in Germany Germany
Week rank: 771 38 in Germany Germany

Details
see sample-files to know how to use the classes ...
Copy all needed files to your script-directory and don't forget
to set rights (777) via CHMOD for the "/thumbs" folder!
  Files  
File Role Description
templates (3 files)
class_thumbs.php Class Class Thumbs
sample.php Example sample for the class Thumbs
readme.txt Doc. read it, if you get problems ^^
class_dias.php Class Class Dias (additional class - not required)
sample_dias.php Example sample for the class Dias

  Files  /  templates  
File Role Description
   dias.htm Data main template for dias output
   cell.htm Data template for a single cell of the table
   fname.htm Data template for filenames

 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,257
This week:0
All time:1,715
This week:304
User Ratings User Comments (1)
 All time
Utility:78%
Consistency:75%
Documentation:71%
Examples:67%
Tests:-
Videos:-
Overall:60%
Rank:1289
 
Excellent
10 years ago (kishore kumar)
80%
 

For more information send a message to info at phpclasses dot org.