Get the photo and set and split them into upload groups