Random photo feature will not link to embeded gallery2

pkringle

Joined: 2005-06-20
Posts: 9
Posted: Sat, 2005-08-06 14:45

I don't believe this was posted before. I am trying to use the "random" gallery link

<?
@readfile('http://www.planetnet.org/gallery2/main.php?g2_view=imageblock.External&g2_blocks=randomImage');
?>

On my site. But when the user clicks on the image it brings you to the "NON" embeded gallery2 site. Is there an option I can send this to link it to the embeded gallery site?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-08-06 15:28

you'll have to use GalleryEmbed::getImageBlock for what you want.