Changed delegate method to identify image URL