banthagroup / fslightbox

An easy to use vanilla JavaScript plug-in without production dependencies for displaying images, videos, or, through custom sources, anything you want in a clean overlying box.
MIT License
351 stars 30 forks source link

[Pro] Unable to mount thumbnails with Vanilla #214

Open iamluxan opened 1 year ago

iamluxan commented 1 year ago

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; });

iamluxan commented 1 year ago

No issue ?