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,093 All time: 3,182 This week: 1,462Up
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: Not yet ranked
Week rank: 177914 in Bulgaria Bulgaria

  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,093All time:3,182
 This week:0This week:1,462Up