Why won't my header and footer images display in Confluence Space PDF export? Edited

I have edited the PDF Layout per the instructions on the "advanced pdf export editing instructions" page from Atlassian, and I'm doing a full space export (not just a single page).  But no matter what I try, I can't get the header and footer images to display.  Here's what I have pasted in:


<div style="margin-top: 10.0mm;">
<img src="/download/attachments/52530566/2017-10-23_1221.png" />

I just pasted that in to the page header text box on the PDF layout screen in the space tools and it's not working.  Note that I was able to edit the CSS to get the page orientation to landscape from portrait, so I know this is theoretically possible and I'm at least doing something right :?

NOTE: the images I'm using are hosted as attachments in the confluence instance I'm exporting from.  And I'm using the relative reference, though I've tried the whole URL.  And when I just put an externally hosted image URL in the code above, it worked fine.  So it appears that it's just my images that are hosted internally won't work :(.  Only solution seems to be finding an external host for my header and footer images...

1 answer

I've just checked and it works properly.

Please pay attention to:

  1. Use absolute URL for image
  2. Use Space Export to PDF (not a single page export).

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

476 views 3 18
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