PHP Classes

Simple Thumbnails: Create thumbnails images from image files

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-09 (4 months ago) RSS 2.0 feedNot enough user ratingsTotal: 365 All time: 6,857 This week: 524Up
Version License PHP version Categories
simple-thumbnails 1.9GNU Lesser Genera...5.0PHP 5, Graphics


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  
Name: Carlos Sosa <contact>
Classes: 5 packages by
Country: United States United States
Age: 35
All time rank: 1815255 in United States United States
Week rank: 298 Up37 in United States United States Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
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

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,857
This week:524Up