Login   Register  
PHP Classes
elePHPant
Icontem

Thumbnail Party: Generate thumbnail images using GD or ImageMagick

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-04-12 (6 years ago) RSS 2.0 feedStarStarStar 59%Total: 2,381 This week: 1All time: 1,508 This week: 1,438Up
Version License Categories  
thumbnail_party 1.0GNU General Public Lice...Graphics
Description Author  

This class can be used to generate image thumbnails.

It can use either the PHP GD library functions or the ImageMagick program.

The class generates thumbnail images with a size proportional to the original image.

If the original image is smaller than the target thumbnail size, the class may optionally enlarge the original image.

The empty spaces around the rescaled image can be optionally filled with a background color.

The rescaled image can be stored in a server side file or served as the current script output.

The class can store the thumbnail images in cache files to avoid thumbnail image generation overhead when the thumbnail images are generated with the same size.

When using GD library functions, the class checks the available memory to prevent thumbnail image generation errors.

When an error occurs, the class displays the error message within the generated image.

Watermark feature has been added since v1.1.0

Picture of Mickey Chan
Name: Mickey Chan <contact>
Classes: 2 packages by
Country: Hong Kong Hong Kong
Age: 46
All time rank: 9874 in Hong Kong Hong Kong
Week rank: 761 Up4 in Hong Kong Hong Kong Equal

Screenshots  
  • screenshot.jpg
  • screenshot-watermark.jpg
  Files folder image Files  
File Role Description
Files folder imagecache (1 file)
Files folder imagesample (5 files)
HTML file index.html Output Example page
Plain text file thumbnail.php Example Script for output thumbnail directory to browser
Plain text file thumbnail_party.class.php Class Class of Thumbnail_Party
Plain text file tp_watermark.class.php Class Watermark class

  Files folder image Files  /  cache  
File Role Description
  Plain text file README Data Description of cache directory

  Files folder image Files  /  sample  
File Role Description
  Image file 110x200_jpg Photo Sample image
  Image file 200x150_jpg Photo Sample image
  Image file 200x160_jpg Photo Sample image
  Image file 80x142_jpg Photo Sample Image
  Image file watermark.png Photo Sample Watermark

 Version Control Unique User Downloads Download Rankings  
 0%Total:2,381All time:1,508
 This week:1This week:1,438Up
User Ratings User Comments (1)  
 All time
Utility:87%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:59%StarStarStar
Rank:916
 
This class do not work with PHP 5.
3 years ago (Sergei Svirid)
35%StarStar