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

Set a default width for rendering images so they don't get raw wdith #119

Closed
wants to merge 3 commits into from

Conversation

bjorns
Copy link
Contributor

@bjorns bjorns commented Nov 21, 2023

This PR depends on #120

Currently images are rendered in default resolution when we push them to Confluence. For retina style screenshots for example this ends up unreadable in the final page. Here's an example:

Screenshot 2023-11-21 at 10 56 40

This PR sets the correct namespace and a default width for all uploaded images equal to the 764px width of the confluence page text. The end result is a correctly scaled screenshot like in this example:

Screenshot 2023-11-21 at 10 57 09

@bjorns bjorns marked this pull request as ready for review November 21, 2023 16:32
@bjorns bjorns closed this Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant