How can I show a photo of an album by code? i have try this:
<?php
require_once("../gallery2/embed.php");
$inicio = array('g2Uri' => 'http://192.168.1.24/gallery2/');
$ret = GalleryEmbed::init($inicio);
//$ret = GalleryInitFirstPass();
if ($ret)
{
print 'GalleryEmbed::init falló, este es el error: ' . $ret->getAsHtml();
exit;
}
$opciones = array('blocks' => 'specificItem', 'itemId' => 45 , 'show' =>
'title');
$resultado = GalleryEmbed::getImageBlock($opciones);
print $resultado[2];
?>
but displays a blank page. please help me
Very Thanks
Posts: 8339
http://www.flashyourweb.com/staticpages/index.php?page=mediaBlock
or
http://www.flashyourweb.com/staticpages/index.php?page=TheMiniSlideShow
or
gallery admin -> imageblock
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 22
ok, very thx