Login   Register  
PHP Classes
elePHPant
Icontem

Class: Thumbs

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ilja Müller  >  Thumbs  >  Download .tar.gz .zip  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Thumbs
Base name: thumbs
Description: generate thumbnails of image files in a directory
Related classes: , , , , , , ,
Version: -
PHP version: -
License: Free for non-commercial use
All time users: 2141 users
All time rank: 1522
Week users: 0 users
Week rank: 2551
Picture of Ilja Müller
Author: Ilja Müller <e-mail contact>
Packages: 1 Browse this author's classes Browse this author's classes
Country: Germany Germany - PHP jobs in Germany
Age: 32
All time rank: 111279 in Germany Germany
Week rank: 2255 Down134 in Germany Germany Down


  Detailed description  
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.

 

  Groups  
Group folder image Graphics Colors, images, charts and picture formats View top rated classes
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes

  Rate classes User ratings   Applications   Files Files  

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (78.6%)
Sufficient (75.0%)
Sufficient (71.4%)
Sufficient (67.9%)
-
-
Sufficient (60.7%)
760
Month:
Not yet rated by the users

  Applications that use this class  
Link Description
here in use... just a private page what uses this classes
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Files folder imagetemplates (3 files)
Plain text file class_thumbs.php Class Class Thumbs
Plain text file sample.php Example sample for the class Thumbs
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)
Plain text file sample_dias.php Example sample for the class Dias

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

Download all files: thumbs.tar.gz thumbs.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.