Add a nginx configuration and the image.php class.