changing sprite to image-url