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

Limit image size #11

Open
OndrejSpanel opened this issue May 30, 2020 · 1 comment
Open

Limit image size #11

OndrejSpanel opened this issue May 30, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@OndrejSpanel
Copy link
Member

Issues containing large images are hard to view, because images are displayed at their native size.

@OndrejSpanel OndrejSpanel added the bug Something isn't working label May 30, 2020
@OndrejSpanel OndrejSpanel self-assigned this May 30, 2020
@OndrejSpanel
Copy link
Member Author

The image already contains max-width: 100% as a style, but this does not seem to work with Flying Saucer. It seems adding -fs-fit-images-to-width does the job (https://groups.google.com/forum/#!topic/flying-saucer-users/nSCHL1TzESs)

I guess I should verify how it behaves with small images now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant