new logic for image url extraction