Photos can come from many sources. Some of these were "selfies" posted on Facebook. Others were pulled from the grad's cell phone.
Arrangements can sometimes be made to accomodate last minute additions, such as the photos from the graduation ceremony just a few days earlier.