Hi @webworks with the default settings, all normal image links should be automatically detected, and FancyBox bound to them. Is that not working for you?
The default selector for images is .fancybox
Apparently I need to *change* the selector for fancybox to be named something else (in order for WP Bakery to pick it up and use it. (According to this post: http://bbird.me/disable-replace-visual-composer-lightbox/)
Here’s my page: https://stilesinteriors.com/welcome-3/#portfolio
The client doesn’t prefer the WP Bakery default lightbox (prettyphoto). We just need a single enlarged image to appear with an exit “X” in the corner.
I hope we can use Fancybox 🙂
OK, normally it would be as simple as removing the VC lightbox script following the instructions on http://bbird.me/disable-replace-visual-composer-lightbox/ and no need to go any further. The Autodetection in Easy FancyBox would be able to pick it up from there.
But, in your case, the galleries seem to get loaded after the initial page load through an ajax request, which makes them invisible for fancybox. Unless there is a certain event triggered after this ajax request has loaded its content. Do you know if that is the case?
I’m not sure – I’ve tried quite a few things – no joy 🙁
I suppose I’ll need to build the grid manually.
Thanks for responding so quickly!