automated caption txt on image load