<xen:include template="xengallery_media_block">
<xen:set var="$blockPhrase">Gallery</xen:set>
<xen:set var="$blockId">SomeUniqueID</xen:set>
<xen:set var="$type">new</xen:set> // You can set this to be "rand" for a random selection.
<xen:set var="$maxSlides">5</xen:set> // Any number. Number of images to be loaded (not all are visible).
<xen:set var="$categories">1,2,3,4,5</xen:set> // Use a comma separated list to display images from selected categories. Set to 'all' to include all categories, 0 to exclude
<xen:set var="$albums">1</xen:set> // Set to 1 to include images from albums, 0 to exclude
<xen:set var="$isSidebarBlock">true</xen:set> // Sets the styling so it will look like a sidebar block
<xen:set var="$slideWidth">142</xen:set> // Sets the width of the slides
<xen:set var="$captions">false</xen:set> // Whether media title appears on hover or not.
</xen:include>