PHP Classes

Image Resizer: Change the size of uploaded image files

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,112 This week: 1All time: 3,369 This week: 263Up
Version License PHP version Categories
imageresizer 1.0GNU General Publi...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: 50
All time rank: 221116 in Bulgaria Bulgaria
Week rank: 267 Up1 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  
This week:1
All time:3,369
This week:263Up
For more information send a message to info at phpclasses dot org.