pass in img src as name