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-06 IAAF World Championships London, 10 items
_DSC9430.jpg
_DSC9341.jpg
_DSC9443.jpg
_DSC9380.jpg
_DSC9374.jpg
_DSC9366.jpg
_DSC9348.jpg
_DSC9372.jpg
_DSC9382.jpg
_DSC9445.jpg
folioGallery - Installation and instructions @
FolioPages.com