The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

max-width of images in PDF Export

Michelle Zaczek
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 26, 2021

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!

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Danilo Cruz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 19, 2023

@Michelle Zaczek this is on Jira Cloud? Have any success on this question? BR

0 votes
Brant Schroeder
Community Champion
January 23, 2022

@Michelle Zaczek were you able to solve this issue?

Michelle Zaczek
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 23, 2022

Unfortunatly not.

TAGS
AUG Leaders

Atlassian Community Events