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
2018-12-07 Florida at BYU, 10 items
_DSC8956.jpg
_DSC8958.jpg
_DSC8964.jpg
_DSC8970.jpg
_DSC8999.jpg
_DSC9047.jpg
_DSC9064.jpg
_DSC9093.jpg
_DSC9141.jpg
_DSC8988.jpg
folioGallery - Installation and instructions @
FolioPages.com