Image in header/footer does not work anymore

Nicolas Blanc
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 6, 2024

Hello, 

We had image in the header / footer when we export to PDF. But since 1 month we lost this option. Header/Footer is displayed but the picture are missing ...

The code has not been changed ...

We are using Confluence Cloud, any suggestion ?

Thank you

Nicolas

2 answers

0 votes
Jessica
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 11, 2024

Hi @Nicolas Blanc 

It was reported a few issues with the PDF exports, like the ones below:

That said, we believe the first bug mentioned could be impacting you, however, we would like to confirm if this happens when you do a space export or if this also affects you when doing a single page export, as mentioned to be the workaround.

Let me know if that helps!

Regards,
Jessica

0 votes
Nicolas Blanc
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 6, 2024

Html code in the Title : 

<img src="https://****.atlassian.net/wiki/download/attachments/229523/logo%20******%20violet%20sans%20baseline%20medium.png?api=v2" alt="Logo *****" height ="100"/>

The URL is OK

CSS in PDF stylesheet

@page {
background-image: url(https://*****.atlassian.net/wiki/download/attachments/229523/vague%20haut.png?api=v2);
background-repeat: no-repeat;
background-size:100% auto;
padding: 0em;
/*The A4 paper size is 210 mm wide by 297 mm long*/
size: 210mm 297mm;


@bottom-center{
text-align:center;
font-family: OpenSansRegular, Verdana, sans-serif;
font-size: 8pt;
color:#7030A0;
vertical-align:top;
padding:15px 0px;
content: "*****.";
white-space:nowrap;
}

@bottom-right {
text-align:right;
font-family: OpenSansRegular, Verdana, sans-serif;
font-size: 8pt;
color:#7030A0;
vertical-align:top;
padding:15px 10px;
content: counter(page) "/" counter(pages);
white-space:nowrap;
}

@bottom-left{
background-image: url(https://*****.atlassian.net/wiki/download/attachments/80576513/logo%20*****_*****%20violet%20sans%20baseline%20medium%20(2).png?api=v2);
background-repeat: no-repeat;
background-size:100% auto;
padding:0;
}

}

.pagetitle
{
page-break-before: always;
}

div.toc
{
display: none;
}

.titredoc
{
color: rgb(112,48,160);
font-size: 42px;
font-weight: bold;
margin: 30%;
text-align:center;
white-space:nowrap;
}

.titreinfo
{
margin:.7in;
color: rgb(112,48,160);
font-size: 11px;
font-style: italic;
text-align:right;
white-space:nowrap;
}

Jerome Sheppard
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 6, 2024

Same - seems like the issue was introduced when they rolled out the new PDF export improvements. I haven't found a workaround. They have a ticket open to fix this though:

https://community.atlassian.com/t5/Confluence-articles/Exported-PDFs-now-more-accurately-match-Confluence-pages/ba-p/2130971

 

Others added comments saying the have the same issue too:
Screenshot 2024-12-06 at 2.08.50 PM.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events