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-09-22 Oregon at UCLA, 3 items
170923_0455_5323.jpg
170923_0455_5674.jpg
170923_0455_5872.jpg
folioGallery - Installation and instructions @
FolioPages.com