If you want to embed the gallery in your php page using php include, you must set the $root and $indexit variables before including the gallery file.
See the source code of this page.
Gallery, 3 albums



folioGallery - Installation and instructions @ FolioPages.com