You can’t do it automatically, if you want to increase the number of photos then you have to modify the whole template & functionality so that it gets more photos. I think in that case you need to contact some experience developer so that he/she can help you modify or customizing the template.