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-12-09 Wisconsin at Stanford, 10 items
_DSC7166.jpg
_DSC7217.jpg
_DSC7255.jpg
_DSC7250.jpg
_DSC7222.jpg
_DSC7213.jpg
_DSC7101.jpg
_DSC7089.jpg
_DSC7084.jpg
_DSC7077.jpg
folioGallery - Installation and instructions @
FolioPages.com