Added dynamic photo loading on all photo page