set image url to file