If you mean to display contact photos in the messages list in the iOS Messages app, then Settings > Messages > Show Contact Photos in Message List ON/OFF. Note: This will NOT display contact photos inside the conversations, but only in the Messages list.