Add new api to get external image path