Calling randon image from a module
paulbearne
Joined: 2005-08-01
Posts: 87 |
Posted: Wed, 2007-07-04 13:10 |
Hi All I have a static page as part of my site http://www.swindongallery.org.uk/gallery2/main.php?g2_view=html:Home This is module so the gallery API is avaible to call so something like {g->block type="core.showRandonBlock"} is what I thing I need I can find lot of examples of how to do it in exenal pages but none of how to this in a module many thanks Paul |
|
Posts: 8601
look for imageblock at http://codex.gallery2.org/Gallery2:Themes:Reference:Blocks
info on all the available parameters is at Site Admin / Image Block in your G2.