building the url to the icon replacing space by _