Hey!
A quick question about the random image block. If I add this code to my front page the link goes to the stand-alone gallery instead of the embeded gallery.
<?php @readfile('http://www.mysite.com/gallery2/main.php?g2_view=imageblock:External&g2_blocks=randomImage&g2_show=notitle'); ?>
Is there a way to make the link go to the embeded gallery?
Posts: 32509
AFAIK no.
For embedded G2, we have the embedded image block...
GalleryEmbed::init(array('embedPath' => ..., 'embedUri' => ...,... ));
GalleryEmbed::getImageBlock
GalleryEmbed::done();
or something like that. see embed.php and the xaraya xarblocks/image.php as an example.
Posts: 32
thnx valiant!
Where do I find the Xaraya xarblocks/image.php file?
Posts: 1378
Follow the Signature Link on his postings
Posts: 32
to easy :D