Make img elements inline-block so the text-align center is applied.