A PHP function which resizes an image quickly and easily.