How can I make this work in a block. what script would I use? All I want to do is pull a random image from the g2 albums with each reload of the page.
<?php @readfile('http://smithtownares.org/photos/main.php?g2_view=imageblock.External&g2_blocks=randomImage&g2_show=title'
; ?>