parse image url to get background