dealing with spaces in the image urls