Adding a "Medium" style zoom on images #315
markbattistella
started this conversation in
Ideas
Replies: 2 comments
-
Great idea! |
Beta Was this translation helpful? Give feedback.
0 replies
-
upvoted! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know this probably doesn't suit everyone, but some docs I've written have images that are wider than they are tall.
When viewing in the site when the right sidebar is collapsed it is an okay viewing experience, but if the user wants to have that pane open to see the titles the image is too squished.
Would it be possible to add in something like a zoom style on the images, and anything classes as
no-zoom
doesn't get it.It would also be something activated than automatically turned on, and if it could be even further extended added to the
index.yml
as aimage-zoom: false/true
so you can disable on certain pages.This is one I was using from another document site generator, and I have edited the bottom. However, adding this into the
_includes
doesn't seem to find the images.See: https://github.com/francoischalifour/medium-zoom
zoom-image.txt
Beta Was this translation helpful? Give feedback.
All reactions