At the instant the picture is taken the coordintes of A, B, A', B' in the rest frame of AB are
In this frame the coordinates o f B ' at other times are B': (t, vt, 0, 0). So B ' is opposite to B at time t(B)=lo/v. In the frame in which B', A' is at rest the time corresponding this is by Lorentz tranformation.