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