Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,295,396
Community Members
 
Community Events
165
Community Groups

max-width of images in PDF Export

Hi!

I'm facing a problem with images in Confluence PDF Exports.

I want all images in PDF be at maximum 90% of the page's width. 

I tried this: 

.confluence-embedded-image
{ -fs-fit-images-to-width: 90% !important; }

and it works fine for images larger than my page. 

 

But I have a lot of smaller  images, which also get resized. The result is, that they get bigger and grainy. 

So I tried this instead:

.confluence-embedded-image { max-width: 500px !important; }

But this does not work. My images show up in the original size again, no change in width. 

 

Any suggestions?

Many thanks in advance!

1 answer

0 votes
Brant Schroeder Community Leader Jan 23, 2022

@Michelle Zaczek were you able to solve this issue?

Unfortunatly not.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Confluence: Where work and wellness meet

Feeling overwhelmed by the demands of work and life? With a 25% increase in the prevalence of anxiety and depression worldwide during the pandemic, for most of us, it’s a resounding yes . 🙋‍♀️ ...

903 views 11 26
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you