get absolute path of image