return an image url
fix : path.exists is now called .