That crate doesn't look like he could comfortably stand up in it. Which is a guide - given most of them are roughly as wide as they are high, to whether he could lie down in it like he is on that pillow bed.
You might be able to help him outside to pee if you organise a towel sling under his tummy tho it might take two of you to wield it. Anything that helps support his back end would be good.
Otherwise - there are dog nappies called "belly bands" or ask the vet for some advice.
Does not look like fun.
do keep us updated - something like this could happen to any of us.