change image path to abs