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-11-23 USC at UCLA, 10 items
_DSC3756.jpg
_DSC3752.jpg
_DSC3753.jpg
_DSC3754.jpg
_DSC3755.jpg
_DSC3709.jpg
_DSC3705.jpg
_DSC3706.jpg
_DSC3707.jpg
_DSC3708.jpg
folioGallery - Installation and instructions @
FolioPages.com