This is a small contribution which simply verifies that the width and height of a newly uploaded image is within acceptable boundries.
If not, the image is resized to within the boundries, maintaining the aspect ratio using simple calculations, and resaved over the uploaded file.
This will not expand images which are below the boundries due to pixelation which will occur upon expansion of small images.
- Simple 1 step install.
- Saves space on webserver.
- Ensures that pages which display product images do not have an un-neccessarily long loading time on slower or overtaxed internet connections.
Legend: 
Download

Report
The previous Image Resizer by Juri will not work with capitalized image extensions. ex .JPG or .GIF the code can easily be modified to accept these though.
The imageuploader can't upload images with width or height bigger then 1500px...
I made a new version that works perfect for all sizes of images
Fixed errors which would accumulate noticable results on prolonged iterative processing causing aspect deformation.
Now calculates the factor based on the width and height and applies in one go to prevent the above accumulation. Any minor rounding errors are now not noticable.
Fixes issue with landscape pictures. Supports both portrait and landscape now ;)
To update, simply overwrite the old code with the new.
This is a small contribution which simply verifies that the width and height of a newly uploaded image is within acceptable boundries.
If not, the image is resized to within the boundries, maintaining the aspect ratio using simple calculations, and resaved over the uploaded file.
This will not expand images which are below the boundries due to pixelation which will occur upon expansion of small images.
- Simple 1 step install.
- Saves space on webserver.
- Ensures that pages which display product images do not have an un-neccessarily long loading time on slower or overtaxed internet connections.