quartz icon indicating copy to clipboard operation
quartz copied to clipboard

Add Image Zoom feature

Open aadimator opened this issue 1 year ago • 2 comments

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.

aadimator avatar Aug 23 '22 06:08 aadimator

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.

aadimator avatar Aug 23 '22 09:08 aadimator

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.

aadimator avatar Aug 27 '22 05:08 aadimator