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" />
</div>

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

356 views 20 10
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