change image path to relative