PHP Classes
elePHPant
Icontem

Thumbnail Party: Generate thumbnail images using GD or ImageMagick

Recommend this page to a friend!
  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 (8 years ago) RSS 2.0 feedStarStarStar 59%Total: 2,419 All time: 1,549 This week: 991Up
Version License Categories
thumbnail_party 1.0GNU General Publi...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

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,419
This week:0
All time:1,549
This week:991Up
User Ratings User Comments (1)
 All time
Utility:87%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:59%StarStarStar
Rank:1204
 
This class do not work with PHP 5.
6 years ago (Sergei Svirid)
35%StarStar