Joomla Random Image Integration

nancyereed

Joined: 2006-02-09
Posts: 1
Posted: Tue, 2006-10-24 04:05

Hi,

I use Joomla w/Gallery2. I know that I can put this code in my template index.php file and get a random image from gallery:

<?php @readfile('http://www.pons.com/gallery/gallery2/main.php?g2_view=imageblock.External&g2_blocks=randomImage&g2_show=title'); ?>

However, it will then show up on all pages. Can I make a Joomla module for a Gallery2 Random Image so that I can select which pages it displays on?

Thanks,

Nancy
http://pons.com/index.php