added correct joining of image path and image filename