Open Image in Lightbox
Posted: Wed Jan 22, 2020 11:04 am
Hello,
Is there a way to click to open a picture in a lightbox? Let me know, thanks!
Is there a way to click to open a picture in a lightbox? Let me know, thanks!
Code: Select all
<p><a class="fancybox n1ed--selected" title="" href="/content/uploads/thank-you.jpg" data-fancybox-group="gallery-1"><img src="/content/uploads/thank-you.jpg?1579810863168" width="400" height="400" class=""></a></p>
<script type="text/javascript" src="//libdev.allprowebtools-dev.com/5.3/includes/fancybox/jquery.fancybox.pack.js?v=2.1.5"></script>
<script type="text/javascript">
jQuery(function() {
jQuery('.fancybox').fancybox();
});
</script>