How do I set Lemmy to fully expand images?

https://lemmy.world/post/1447011

How do I set Lemmy to fully expand images? - Lemmy.world

Right now, the only method I found is to click on the expando, then right click on the image and open it in a new tab. Is there a way to make it so I can just click it once? I can’t imagine any possible scenario where I’d want to see a large but not full size image. I’m using the browser on my computer if that’s relevant.

You could add .img-expanded { max-height: unset; } as a rule for your lemmy instance in the Stylus addon for browser. This will remove the height limiter for images.
I tried that. It still seems to be limiting the width. How can I make it so it can stretch from one side of the screen to the other?

This will allow maximum expansion, but will somewhat break display of the sidebar:

.col-lg-9, .col-md-8 { width: unset; } .container-lg, .container-md, .container-sm, .container { max-width: unset; } .offset-sm-3 { margin-left: unset; }

I’ve only tested with a few [email protected] posts, and couldn’t quickly find whether this would affect images in comments.

For images inside comments (also can break sidebar):

.md-div img { max-height: unset; }