[[Gallery? &album=`13` &toPlaceholder=`Gallery` &useCss=`0` &containerTpl=`GalleryAlbumTpl` &thumbWidth=`195` &thumbHeight=`140` &thumbTpl=`GalItemThumb` &imageWidth=`800` &imageHeight=`800`]] [[+Gallery]]
[[Gallery? &album=`MyAlbum` &toPlaceholder=`Gallery` &useCss=`0` &containerTpl=`GalleryAlbumTpl` &thumbWidth=`195` &thumbHeight=`140` &thumbTpl=`GalItemThumb` &imageWidth=`800` &imageHeight=`800`]] [[+Gallery]]

[[!GalleryAlbums? &toPlaceholder=`GalleryAlbums` &limit=`0` &albumCoverSort=`rank` &prominentOnly=`0` &rowTpl=`danyAlbumRowTpl` &thumbWidth=`195` &thumbHeight=`140`]] [[!Gallery? &checkForRequestTagVar=`1` &toPlaceholder=`Gallery` &useCss=`0` &containerTpl=`danyAlbumContainer` &thumbWidth=`195` &thumbHeight=`140` &thumbTpl=`danyItemThumb` &imageWidth=`800` &imageHeight=`800`]] [[!If? &subject=`[[+Gallery]]` &operator=`isempty` &then=`[[+GalleryAlbums]]` &else=`[[+Gallery]]`]] [[+GalleryAlbums]] [[+Gallery]]
<h1>[[+album_name]]</h1> <p>[[+album_description]]</p> [[+thumbnails]]
<div class="albumPreview">
<h3><a href="[[~[[*id]]? &[[+albumRequestVar]]=`[[+id]]`]]">[[+name]]</a></h3>
<div class="thumb">
<a href="[[~[[*id]]? &[[+albumRequestVar]]=`[[+id]]`]]"><img src="[[+image]]" alt="[[+name]]"/></a>
</div>
<div class="desc">
<p>[[+description]]</p>
<a href="[[~[[*id]]? &[[+albumRequestVar]]=`[[+id]]`]]" class="view">View gallery</a>
</div>
</div><div class="[[+cls]]">
<a href="[[+image]]" rel="colorbox" title="[[+description]]">
<img data-href="[[+thumbnail]]" class="[[+imgCls]]" src="[[++base_url]]assets/templates/portfolio/images/loading_thumb.gif" alt="[[+name]]" width="195" height="140"/>
</a>
[[+name]]
</div>[[!GalleryAlbums? &toPlaceholder=`GalleryAlbums` &limit=`0` &albumCoverSort=`rank` &prominentOnly=`0` &rowTpl=`danyAlbumRowTpl` &thumbWidth=`195` &thumbHeight=`140`]] [[!Gallery? &checkForRequestTagVar=`1` &toPlaceholder=`Gallery` &useCss=`0` &containerTpl=`danyAlbumContainer` &thumbWidth=`195` &thumbHeight=`140` &thumbTpl=`danyItemThumb` &imageWidth=`800` &imageHeight=`800`]] [[!If? &subject=`[[+Gallery]]` &operator=`isempty` &then=`[[+GalleryAlbums]]` &else=`[[+Gallery]]`]]