Added image pagination to all-photos.