If you want to embed the gallery in your php page using php include, you must set the $root and $fgGetAlbum=1 variables before including the gallery file.
See the source code of this page.
Index
2017-08-09 IAAF World Championships London, 10 items
_DSC6989.jpg
_DSC6988.jpg
_DSC7010.jpg
_DSC0431.jpg
_DSC0207.jpg
_DSC0011.jpg
_DSC9944.jpg
_DSC9911.jpg
_DSC0214.jpg
_DSC6973.jpg
folioGallery - Installation and instructions @
FolioPages.com