This script will dynamically resize and crop an image to any size and save it if the user wishes.