Make Thumbnails On Fly Script

http://www.miniscripts.info/details.php?id=7

Below you can see different modes of Make Thumbnails On Fly Script. Please pay attention to URL of resized images. URL has four parameter "m", "w", "h", "f" (?m=1&w=480&h=240&f=testimage.jpg).
m - mode of script (0, 1, 2, 3)
w - width of output image
h - height of output image
f - filename of image (path to folder is kept in script settings)

Original image
URL: http://www.miniscripts.info/demo/makethumbnails/example/includes/testimage.jpg

Resized image with the same proportion (ratio); float output frame - mode 0, default
Please look at URL below. There you can see that script will resize original image and keep ratio to fit one into square 320x320 (url part: w=320&h=320, feel free to change these values as you wish). Large image dimension fitted into output frame.
URL: http://www.miniscripts.info/demo/makethumbnails/image.php?m=0&w=320&h=320&f=testimage.jpg

Resized image with the same proportion (ratio); fixed output frame - mode 1
Please look at URL below. There you can see that script will resize original image and keep ratio to fit one into square 480x240 (url part: w=480&h=240, feel free to change these values as you wish).
URL: http://www.miniscripts.info/demo/makethumbnails/image.php?m=1&w=480&h=240&f=testimage.jpg

Resized image with no proportion (ratio); fixed output frame - mode 3
Please look at URL below. There you can see that script will resize original image and do not keep original ratio to fit one into square 480x240 (url part: w=480&h=240, feel free to change these values as you wish).
URL: http://www.miniscripts.info/demo/makethumbnails/image.php?m=3&w=480&h=240&f=testimage.jpg

Resized image with crop; fixed output frame - mode 2
Please look at URL below. There you can see that script will resize original image and it one to fit one into square 320x320 (url part: w=320&h=320, feel free to change these values as you wish). Small image dimension fitted into output frame.
URL: http://www.miniscripts.info/demo/makethumbnails/image.php?m=2&w=320&h=320&f=testimage.jpg