competed get pic url function
competed get pic url function