Removing slash from image name.