Consolidate photo display checking to one function.