PHP Classes

Image Resizer: Change the size of uploaded 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: 1,113 All time: 3,382 This week: 488Up
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

 

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

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  
 0%
Total:1,113
This week:0
All time:3,382
This week:488Up