PEG / PNG Image Resizer
Parameters (passed via URL):
img = path / url of jpeg or png image file
percent = if this is defined, image is resized by it's
value in percent (i.e. 50 to divide by 50 percent)
w = image width
h = image height
constrain = if this is parameter is passed and w and h are set
to a size value then the size of the resulting image
is constrained by whichever dimension is smaller
Requires the PHP GD Extension
Outputs the resulting image in JPEG Format
By: Michael John G. Lopez - www.sydel.net
Filename : imgsize.php
Download PHP Script:
https://sites.google.com/site/myblogfileattachments/home/Files/imgsize.php
No comments:
Post a Comment