save image url to db