PHP Classes

Simple Thumbnails: Create thumbnails images from image files

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 366 All time: 6,851 This week: 46Up
Version License PHP version Categories
simple-thumbnails 1.9GNU Lesser Genera...5.0PHP 5, Graphics
Description 

Author

This class can create thumbnails images from image files.

It can take a given image file name in the JPEG, PNG or GIF format and creates a new thumbnail image that is a resized version of the original.

The thumbnail image size is configurable. The class may adjust the thumbnail image alignment to preserve the original image aspect ratio when it is different from the thumbnail image aspect ratio.

The resulting thumbnail image can be saved to a file or returned as a string. The thumbnail image format may be the same or different from the original image format.

Picture of Carlos Sosa
  Performance   Level  
Innovation award
Innovation award
Nominee: 1x

 

  Files folder image Files (4)  
File Role Description
Image file img.png Photo Image Sample
Plain text file index.php Example Example of use.
Image file th.png Icon Icon image
Plain text file Thumbnails.php Class Class file

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:366
This week:0
All time:6,851
This week:46Up