The zoom doesn't work if the image is wrapped in a <details> tag.
The magnifying glass 🔎 shows up when I hover over the image, that means the image is detected by the selector, but when I click it, the image doesn't zoom.
You can find a demo here: https://sweetcode.com/docs/wpm/plugin-configuration/google-analytics

It works fine if I don't wrap it in a <details> tag.
Is there a way to fix this?