4 allowed users to select an album to show photos from, a more complete solution would be for users to be able to select a number of albums and for the code to select photos randomly from all of them. In this case the code probably should only record each photo once, i.e. if a photo is in two albums it should not be twice as likely to be chosen. This can probably be achieved by storing the ids from the google api in a set.
4 allowed users to select an album to show photos from, a more complete solution would be for users to be able to select a number of albums and for the code to select photos randomly from all of them. In this case the code probably should only record each photo once, i.e. if a photo is in two albums it should not be twice as likely to be chosen. This can probably be achieved by storing the ids from the google api in a set.