add photo loading to rating