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
Posted Dec 10, 2018 in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

188 views 4 6
Join discussion

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