Structural imaging of transient excited-state species is a key goal of molecular physics, promising to unveil rich information about the dynamics underpinning photochemical transformations. However, separating the electronic and nuclear contributions to the spectroscopic observables is challenging, and typically requires the application of high-level theory. Here, we employ site-selective ionisation via ultrashort soft X-ray pulses and time-resolved Coulomb explosion imaging to interrogate structural dynamics of the ultraviolet photochemistry of carbon disulfide. This prototypical system exhibits the complex motifs of polyatomic photochemistry, including strong non-adiabatic couplings, vibrational mode couplings, and intersystem crossing. Immediately following photoexcitation, we observe Coulomb explosion signatures of highly bent and stretched excited-state geometries involved in the photodissociation. Aided by a model to interpret such changes, we build a comprehensive picture of the photoinduced nuclear dynamics that follows initial bending and stretching motions, as the reaction proceeds towards photodissociation.