Adding image arrows for member detail photo gallery
authorLaury GvR <laury@gaslightmedia.com>
Tue, 26 Sep 2017 14:25:54 +0000 (10:25 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 26 Sep 2017 14:25:54 +0000 (10:25 -0400)
Fancybox 3 needed a different data tag in the markup for arrows
to show up on the member detail photo gallery.

views/front/members/detail.html

index 7d478f3..666ec70 100644 (file)
                             <ul class="small-block-grid-1 medium-block-grid-2 large-block-grid-3">
                         {foreach $imageGallery as $i}
                                 <li>
-                                    <a class="glm-member-detail-images-thumb" rel="gallery1" href="{$glmPluginMediaUrl}/images/large/{$i.file_name}" style="background-image: url('{$glmPluginMediaUrl}/images/small/{$i.file_name}')">
+                                    <a class="glm-member-detail-images-thumb fancybox" data-fancybox="images" rel="gallery1" href="{$glmPluginMediaUrl}/images/large/{$i.file_name}" style="background-image: url('{$glmPluginMediaUrl}/images/small/{$i.file_name}')">
                                         <img class="glm-member-filler-image" src="{$assetsUrl}/filler_s.gif" alt="{$i.caption}">
                                     </a>
                                 </li>