Pictures of naked, humiliated detainees caused outrage.