PHP Classes

Plottable Thumbnail Library: Generate thumbnail images with caching support.

Recommend this page to a friend!
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 65%Total: 3,495 All time: 962 This week: 488Up
Version License PHP version Categories
pthumb 1.2.10GNU Lesser Genera...4.3.2Graphics, Files and Folders


This is a class that generates thumbnail images on the fly. It may be useful for creating image galleries.

The thumbnails can be generated as the current script output or have its file data returned as a string.

The class supports caching the generated thumbnail images in server side files.

It requires the PHP GD extension. For remote files, url_allow_fopen must be set to on. If it is not, CURL is needed to access remote files.

Features Description:
- Cache
--> Thumbnails generated are cache-d so that you can access them faster should the content of the image not change
- Thumbnail
--> Standard thumbnail generation
- Auto-fitting
--> Need to fit an image within 300 by 300? Lazy to calculate the dimensions so that the image is not distorted? The class will do it for you!
- Scaling
--> Specify a scale to resize an image to! You can enlarge and shrink the image to as many times as you want!

Picture of Lawliet
Name: Lawliet <contact>
Classes: 2 packages by
Country: Singapore Singapore
Age: 35
All time rank: 6303 in Singapore Singapore
Week rank: 93 Up1 in Singapore Singapore Up


Plottable Thumbnail Library Version 1.2.10 (C) Chua Yong Wen 2004 - 2007 lawliet89[at] -------------------------------------------------- Please refer to documentation.htm -------------------------------------------------- CREDITS: Thanks to Carlos Lorenzetti (kcholoren AT hotmail DOT com) --------------------------------------------------

  Files folder image Files  
File Role Description
Plain text file PThumb.php Class The Class
Plain text file generator.php Appl. Thumbnail generator web interface
Accessible without login Plain text file CHANGELOG Doc. The Changelog
Accessible without login HTML file documentation.htm Doc. Documentation; rewritten.
Plain text file example.php Example An Example showing how to use the Class.
Plain text file readme.txt Doc. Readme & credits 22KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
HTTP Retriever Download .zip .tar.gz Used to retrieve remote files. Not needed if 'allow_url_fopen' is on or you have CURL extensions. Optional
 Version Control Unique User Downloads Download Rankings  
This week:0
All time:962
This week:488Up
 User Ratings  
 All time