PLEASE NOTE: The php snippets are user submitted and it is impossible to check every one, so use at your own risk. When using an alternate database to the default MySQL, some database queries may not work.

unset ($output);
$output=image_gallery_page($type = NULL, $tid = 0);
print $output;

*If $tid = 0 is left as 0 it will display a single image from the gallery and some info about the gallery - Name, How many images and when it was last updated.

* If $tid = ? is set to the gallery you want (for example $tid = 63) it will embed all of the thumbnails into your page.

* image.module must be installed and working and image_gallery module enabled!