1800s photographs show suffering, compassion