Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to automatically make images link to original #1351

Open
amccaugh opened this issue Aug 15, 2024 · 0 comments
Open

How to automatically make images link to original #1351

amccaugh opened this issue Aug 15, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@amccaugh
Copy link

amccaugh commented Aug 15, 2024

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 amccaugh added the enhancement New feature or request label Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant