fslightbox
fslightbox copied to clipboard
[Pro] Unable to mount thumbnails with Vanilla
Hi,
I am using Pro version. I am unable to mount thumbnails using HTML :
<a href="{$image.bySize.product_xl.url}" data-fslightbox="gallery" data-caption="{if !empty($image.default_image.legend)}{$image.default_image.legend}{/if}" data-thumb="{$image.bySize.small_default.url}"> ... </a>
And nothing append when using vanilla or jquery... :
$('[data-fslightbox]').on('click', function() { fsLightbox.props.showThumbsOnMount = true; });