Short X-ray pulses from free-electron lasers enable coherent diffractive imaging of noncrystalline objects such as single molecules. Here, the authors reconstructing full image information from a single-shot diffraction pattern by using two sufficiently separated objects to act as references for each other.