Login   Register  
PHP Classes

Image Resizer: Change the size of uploaded image files

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-06-19 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,092 This week: 1All time: 3,170 This week: 1,410Up
Version License PHP version Categories  
imageresizer 1.0GNU General Public Lice...3.0Graphics, Files and Folders
Description Author  

This is a simple class that can be used to change the size of images in the GIF, JPEG, and PNG formats.

It may be used to resize uploaded images, so it can also verify whether the image does not exceed a given size, whether it matches expected file name extensions, and that there is no file with the same name in a given pictures directory.

The given image is resized proportionally to a size that does not exceed a given limit width and height.

The resized image file is copied to a given pictures directory.

Picture of Ljubo Bumbarov
Name: Ljubo Bumbarov <contact>
Classes: 1 package by
Country: Bulgaria Bulgaria
Age: 42
All time rank: 203415 in Bulgaria Bulgaria
Week rank: 1096 Up7 in Bulgaria Bulgaria Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example example
Plain text file imageresizer.class.php Class image resizer class

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,092All time:3,170
 This week:1This week:1,410Up