let curl set image type