Replies: 2 comments 4 replies
-
Please do not use the Does using the BTW, this is what the .img-fluid {
max-width: 100%;
height: auto;
} |
Beta Was this translation helpful? Give feedback.
-
Another thing I'm trying to figure out is an elegant way to potentially click an image to view it "in full". I have screenshots where areas are hard to see unless you look at it full screen/larger. IE. You can see an image annotation that I want to call attention to that might be hard to see if you can't click into it to expand the viewable image area. I guess I could just create a link to open it directly, although it seem like getting it to open in a new tab/window is complicated with goldmark. |
Beta Was this translation helpful? Give feedback.
-
I am attempting to upgrade from .5 to 1.0. Default handling of images has appeared to change, so I'm trying to figure out how to fix this.
Specifically, I had been using
![]()
to drop images into my pages. Things would automatically shrink if necessary, but never stretch, to fit the viewing area.So with 1.0, instead of using the markdown form, I've been attempting to use
{{< image >}}
{{< img >}}
shortcode and applyimg-fluid
class. This works great to "shrink" an image but it also expands an image, which I don't want. I hope this make sense, but is there animg-fluid
that only shrinks (without changing aspect ratio) and does not attempt to expand?I tried to put this in my
assets/scss/common/_custom.scss
file:But that didn't seem to do anything to change the behavior.
Sorry for the naive question, mostly just trying muddle through the impactful stuff moving from .5 to 1.0 and I'm a bit out of my depth.
Beta Was this translation helpful? Give feedback.
All reactions