The photo shows the ring-shaped galaxies just after they collided .