Open mmattel opened 5 months ago
Group of zoomable images are defined as the images with anchor
const imagesLinks = document.querySelectorAll('a[href*=".jpg" i], a[href*=".jpeg" i], a[href*=".png" i], a[href*=".gif" i]');
I know this is a bit of a general thing, but this behaviour replaces opening the image in a new tab
I see... Btw, svg is missing
Could it be extended to catch all images having a particular css entry?
I am using the divi builder and it drives me nuts to get medium-zoom working.
Maybe a stupid question, but is it possible to define which images can be zoomed, as how I see it, currently all images are zoomable...