Create generate_image.php