Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Marisa Hager October 23, 2017

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

0 votes
Gregor Kasmann_Actonic
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 23, 2017

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
TAGS
AUG Leaders

Atlassian Community Events