set images path of index to absolute