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

Fix images wider than 100%, and use lightbox #188

Open
ctrueden opened this issue Jun 23, 2021 · 0 comments
Open

Fix images wider than 100%, and use lightbox #188

ctrueden opened this issue Jun 23, 2021 · 0 comments

Comments

@ctrueden
Copy link
Member

It used to be that images were not allowed to be larger than 100% in width. They'd scale down as the page got narrower. Unfortunately, this had negative side effects inside tables, since 100% means something different than "width of the main content pane" when inside a table cell.

We need to find a way to make images max 100% of the main content pane by default again. Here is an example page that looks bad now because of it:

https://imagej.net/scripting/how-to-use-the-javadoc

It would also be ideal to make such images linked to their full-resolution versions, which pop up using lightbox when clicked. The thumbnail include (slated to be reworked) currently does this I think; see #154 for related work to be done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant