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

This widget could not be displayed.

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 Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

477 views 6 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