change image to absolute path