a PHP script that resizes and saves images to the requested size