DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
External Image Block
to include an image block in a PHP page outside of Gallery.
<?php @readfile('http://gallery/main.php?g2_view=imageblock.External&g2_blocks=randomImage&g2_show=title'); ?>