Fix the image path and put it in a var