Hi @anurchis ,
I added a Timer to achieve this:

The two text input boxes are where to type in the 2 minutes and 10 photos. Timer settings will be:
Duration:
Value(TextInput1.Text)*1000/Value(TextInput2.Text)
Repeat:
If(varloop >= Value(TextInput2.Text)+1,false,true)
Reset:
If(varloop >= Value(TextInput2.Text)+1,true,false)
OnTimerEnd:
Collect(colFrames,Camera1.Photo);UpdateContext({varloop:varloop+1})
Additional properties:

Clear button OnSelect:
UpdateContext({varloop:0});Clear(colFrames)
So the Gallery with Items set to the collection will display all the photos captured by the Timer. The Clear button can clear the collection and reset the variable, which controls the repeat of Timer.
Best regards,