change image path to match proper format