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-10-29 UC Riverside at Fullerton St, 8 items
_DSC3844.jpg
_DSC3905.jpg
_DSC3918.jpg
_DSC3901.jpg
_DSC3798.jpg
_DSC3808.jpg
_DSC3822.jpg
_DSC3839.jpg
folioGallery - Installation and instructions @
FolioPages.com