A former firefighter from Rowley Regis who admitted taking a photograph of a dead man at the scene of a crash has been jailed for 20 months.