Hey,
I like to open an Envira lightbox by a link from a column.
I did something like that with a flipbook this way:
In your text element insert this:
[flipbook-popup id="cantharel_magazine_zomer_2019"] [/flipbook-popup]
Insert a v2 button element, style it and then add a custom class flipbook-trigger
And then you add the JS code:
jQuery(document).ready(function($){
$('.flipbook-trigger').click(function(e){
e.preventDefault();
$('a[data-fb-id="cantharel_magazine_zomer_2019"]').click();
});
});
Is such a think also possible for an Envira gallery?
I have this test page: https://lapauline.nl/wp/interactive-columns/
The 3 interactive columns I want to link to an Envira gallery.
The big image below has the result I like to achieve but this is just a linked image with this code but it opens the lightbox the way I want it for the columns.
[envira-link id="265"]<img src="https://lapauline.nl/wp/wp-content/uploads/2021/12/Coco-cabane-living-keuken.jpg"/>[/envira-link]
Can you please help me to get this?
Regards, Carel