Closed kapooramit closed 4 years ago
Nobody here?
Knock knock....
What worked for me-> it came out to be selector choice that I had to change...and then I added zoom effect and animation...
$('.confluence-embedded-image').magnificPopup({
removalDelay: 300,
mainClass: 'mfp-fade mfp-with-zoom',
type: 'image',
zoom: {
enabled: true,
duration: 300,
easing: 'ease-in-out',
opener: function(openerElement) {
return openerElement.is('img') ? openerElement : openerElement.find('img');
}
},
gallery:{
enabled:true
}
});
I have images on my documentation page and they are scattered here and there between paragraphs of text. How can I make deliver gallery like experience in this case?
This is how a sample image HTML looks like:
And my call looks like this and it shows only one image - the one clicked upon: