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

Images displayed with a width of less than 400px #105

Open
xorxsan opened this issue Sep 15, 2023 · 2 comments
Open

Images displayed with a width of less than 400px #105

xorxsan opened this issue Sep 15, 2023 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@xorxsan
Copy link

xorxsan commented Sep 15, 2023

Hi,

we have a markdown that contains the following piece of code:

![title](my-image.drawio.svg)

It gets correctly uploaded, but it's displayed with a very narrow width (less than 400px). Same happens if we use a png file (size is almost 900px).

Is there a way to instruct Confluence to use a greater width?

We are using version 2.3.0 of md2cf.

@xorxsan xorxsan changed the title Images uploaded with 250px wide Images uploaded with less than 400px wide Sep 15, 2023
@xorxsan xorxsan changed the title Images uploaded with less than 400px wide Images displayed with a width of less than 400px Sep 15, 2023
@iamjackg
Copy link
Owner

Oh interesting. I don't think I tested this with large images. There is a way to instruct confluence to do that, but md2cf doesn't set any of those attributes. Something to look into!

@iamjackg iamjackg added enhancement New feature or request good first issue Good for newcomers labels Oct 22, 2023
@daveiit
Copy link

daveiit commented Jun 24, 2024

I'm also really interessted.
with the tip from #88, to convert inline mermaid with mmdc to svg uplload to confluence works fine but i can only see the images when i go to confluence and edit them to a lower scale. But they are visible in the edit page view :)

would be awesome if i dont have to do that manually and just set a image scale parameter or something like that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants