Option to disable bottom thumbnails in lightbox?
SandroRiz opened this issue · comments
Sandro Rizzetto commented
AntSmith60 commented
I think viewerGallery: none does this as part of the data-nanogallery2-lightbox attribute within the HTML img tag for a single image lightbox, or within the data-nanogallery2 attribute of the containing div of a gallery...
So adding:
data-nanogallery2="{"viewerGallery" : "none"}"
to your id="nanogallery2" div
I think will work..! (careful with the quotes though)
Sandro Rizzetto commented
Works perfect in the initialization... thanks a lot
` <script>
jQuery(document).ready(function () {
jQuery("#nanogallery2").nanogallery2( {
// ### gallery settings ###
viewerGallery : "none",
'viewerToolbar': {
'display': false,
'standard': 'label',
'minimized': 'minimizeButton, label, sharebutton, fullscreenButton'
},
viewerTools: {
'topRight': 'zoomButton, fullscreenButton, infoButton, shareButton, closeButton'
},
viewerGallery : "none",
thumbnailBorderHorizontal: 0,
thumbnailBorderVertical: 0,
thumbnailHeight: 200,
thumbnailWidth: 'auto',
thumbnailLabel: { display : <%=displayLabel %> },
fnPopupMediaInfo: myPopupInfo
});
});
</script>`