Power CMS does not have the ability to create a new page automatically, you would need to hand code a script for creating the new page and add the gallery code to it.
I found the following tutorial through google:
php-create-a-file-on-your-server/
this may be helpful for getting started with creating the new page.