Contact photo not displaying in Messages app
4"-screen iOS devices (including your 5, as well as the 5S, C, and SE) no longer have the option to display contact photos.

If you decide to upgrade to a larger phone, check to make sure that zoom is turned off and show contact photos is turned on.