Replies: 5 comments 2 replies
-
You mean something like Lightbox: https://lokeshdhakar.com/projects/lightbox2/. Yeah, that would actually be a great feature! |
Beta Was this translation helpful? Give feedback.
-
Alternatively you can add pan/zoom https://astro-digital-garden.stereobooster.com/recipes/svg-pan-zoom/ |
Beta Was this translation helpful? Give feedback.
-
@HiDeoo also built a nice Starlight plugin for image zoom: https://github.com/HiDeoo/starlight-image-zoom |
Beta Was this translation helpful? Give feedback.
-
You can use PhotoSwipe for that. Generally, this is for a whole image gallery, but it has an option to just open for one single image at a time. It's not as seamlessly integrated as the plugin of @delucis, but gives you more options. |
Beta Was this translation helpful? Give feedback.
-
Considering that many possibilities can be used to cover such a feature, e.g. by many various libraries or Starlight plugins mentioned in this discussion, I don't think we have plans to implement this in Starlight core. Considering this, I'll close this discussion for now. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
What version of
starlight
are you using?0.14.0
What is your idea?
The document contains pictures. Can you add a function to click on the picture to enlarge it?
Why is this feature necessary?
Document contains pictures
Do you have examples of this feature in other projects?
No response
Participation
Beta Was this translation helpful? Give feedback.
All reactions