Presumably the purchaser sues the photographer.
One thing that marketplace could do is to require a bond from any photographers that would be used to help pay for any judgements.