quartz icon indicating copy to clipboard operation
quartz copied to clipboard

How to automatically make images link to original

Open amccaugh opened this issue 6 months ago • 0 comments

This may already exist, but I've spent about and hour looking and I don't believe it's implemented currently.

The feature I am looking for is this: on the Quartz-produced website, I would like the user to be able to click any image embedded with ! and have it take them to the original image. This would allow gallery-like functionality where you can have several resized images embedded in the page, and the user can click them to see the full-size version.

So for instance, if I have a large (1600x900 pixels) imag, I could embed it display as a small image 250 pixels wide ![[mysmallpicture.png|250]]. Then, if the user wanted to see the full-size version, they could click it and it would take them to directly to the mysmallpicture.png file

Quartz could have an optional "LinkImagesToOriginal" Transfomer plugin that automatically adds e.g. <a href> links around any embedded image in the vault.

amccaugh avatar Aug 15 '24 20:08 amccaugh