set path of images to absolute one