Expanding embedded images on PDF exports?

When exporting to PDFs I have a customized style sheet.

This includes setting the width of exported images to the page width but it doesn't work for embedded images (those that expand when you click on them).

What am I doing wrong?

.wiki-content img
{
width:100%;
}

.wiki-content .confluence-embedded-image {
width:100%
}

1 answer

0 votes

Maybe try this workaround in CONF-33727 - Large images are cut off on PDF Export Resolved

 

(See comments):

 

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

Suggest an answer

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

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

215 views 2 10
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you