quartz
quartz copied to clipboard
Add Image Zoom feature
Adds an option in the config to enable Image Zoom feature.
Once enabled, it'll download the medium-zoom
script and apply it to all the images in the <article>
tag. All of those images will now have a magnifying glass icon appear when you hover your mouse over that image. Once clicked, it'll zoom the image such that it encompasses your full screen.
This doesn't work when the SPA option is enabled. I'll have to figure something out to make it work with that. For now, you'll have to reload the page, and then it works on that page.
Yeah, I've been trying to make it work. But image-zoom is an esm
-module. So I'm having difficulty integrating it within the current structure. I'll try to figure something out.