Simple Gallery - MODX & Gallery Extra

1)Make the gallery call chunk, and create the template variable to input a gallery


<div class="container">
        <div class="row gallery-albums">
          [[Gallery? &album=`[[*GalleryName]]` &thumbTpl=`GalleryPageTpl` &imageWidth=`1000` &imageQuality=`100`]]
     </div>  
</div>


The GalleryPageTpl



<div class="col-md-4 gallery-thmb">
      <img src="[[+image]]" alt="[[+name]]">
</div>


3)A little CSS


 
.gallery-thmb img {padding:20px;margin:0 auto;display:block;}


Get In Touch

Have a question? or perhaps spotted a problem?
Maybe you have something you would like to add. Drop us a line anytime!