PHP Classes

Easy Resize Image: Resize images keeping the aspect ratio

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 2,706 All time: 1,402 This week: 59Up
Version License PHP version Categories
image_resize_tool 1.0Freely Distributable3.0Graphics


This class can be used to resize images keeping the aspect ratio.

It can open an image from a file or a remote URL and create a resized version of the image that neither the width nor the height exceed a given value.

The class returns a GD image resource handle that can be used to serve the resized image in any format supported by the GD library.

Picture of László Zsidi
Name: László Zsidi <contact>
Classes: 13 packages by
Country: Hungary Hungary
Age: 50
All time rank: 331 in Hungary Hungary
Week rank: 349 Down5 in Hungary Hungary Down
Innovation award
Innovation award
Nominee: 10x

Winner: 1x

  Files folder image Files  
File Role Description
Accessible without login Image file foto.jpg Data Example foto file
Accessible without login Plain text file image.php Example Image generator
Accessible without login Plain text file index.php Example Example script
Plain text file resizeImage.class.php Class Main Class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,402
This week:59Up