Can anyone help me? I'm trying to embed Gallery2 into a simple php page. I don't need any logins or session data, I just want to display the gallery in an existing page. I've read the embedd instuctions but they seem to relate only to cms systems. <?php require_once(dirname(__FILE__) . '/gallery2/embed.php'); $ret = GalleryEmbed::init(array( 'embedUri' => 'people.php', embedPath => '/', 'relativeG2Path' => 'gallery2/', 'loginRedirect' => 'people.php', 'activeUserId' => '')); GalleryEmbed::init(); $params = array( 'blocks' => 'randomImage', 'show' => 'date|views|fullSize' ); $content = GalleryEmbed::getImageBlock($params); if ($content) print_r($content); GalleryEmbed::done(); ?> Code (markup): That just produces errors The gallery is here If anyone can help I'd be very greatful.