I integrated magnific popup, and gave the gallery block the gallery class! I do not know how to connect an image to the opening of the lightbox! skipping the preview that shows the photos in the gallery! on various blogs I have seen that they use to give an ID to make it work in this way!
$(‘.gallery’).each(function() { // the containers for all your galleries
$(this).magnificPopup({
delegate: ‘a’, // the selector for gallery item
type: ‘image’,
gallery: {
enabled:true
}
});
});
thanks for your patience and your availability ??