How to export image captions to PDF in the latest versions of Confluence?
Asked by Italo Ebel:

Hi Everyone  

It seems that it was not possible to export captions in previous versions, but recently I found a document that has image captions in it PDF. How could this have been done?  

When I export my pages to PDF no caption appears, I don't know how it was done in the found document.  

Thank you.


Answers:
author: Kristian Klima
body: Hi [@Italo Ebel](/t5/user/viewprofilepage/user-id/5548033) and welcome to the Community.

Is it possible that the PDF export that you saw was exported with an app?

There's [Scroll PDF Exporter](https://marketplace.atlassian.com/apps/7019/scroll-pdf-exporter-for-confluence?tab=overview&hosting=cloud) that has more options - perhaps that was the app that was used.

comments: author: Italo Ebel
body: Hi [@Kristian Klima](/t5/user/viewprofilepage/user-id/5074962)

Thanks for the suggestion. I'll try this exporter later.

About the document found, it was created using the default exporter. The person who made it used the standard Confluence stylesheet with just a few font adjustments.

Unfortunately, he doesn't know how the image captions were exported.


author: Kristian Klima
body: [@Italo Ebel](/t5/user/viewprofilepage/user-id/5548033)

I wonder... could it be a case of caption vs alt text? :)

This is my Confluence page with *Klimt* being the caption. When I exported this single page as PDF from the page menu, the PDF came out as expected. With the caption.

![2024-07-30_16-49-07.png](https://community.atlassian.com/t5/image/serverpage/image-id/338882iF3F4D044599B6175/image-size/large?v=v2&px=999 "2024-07-30_16-49-07.png")

Edit: Space Export as PDF came identical ... with the caption.


author: Italo Ebel
body: Strange... I'm sure that i'm using captions.

That's how it looks in the Confluence page:

![onconfluence.png](https://community.atlassian.com/t5/image/serverpage/image-id/338901i9DCD0ECAE4E8C290/image-dimensions/323x298?v=v2 "onconfluence.png")  

In the PDF:

![onpdf.png](https://community.atlassian.com/t5/image/serverpage/image-id/338902i52651FDA9589526B/image-dimensions/334x315?v=v2 "onpdf.png")  

I'm exporting my pages from here:

![export.png](https://community.atlassian.com/t5/image/serverpage/image-id/338907iDE70F73EE4EC0645/image-size/large?v=v2&px=999 "export.png")


author: Kristian Klima
body: [@Italo Ebel](/t5/user/viewprofilepage/user-id/5548033) What the actual ... freak?

What happens when you export from here:

![2024-07-31_08-50-03.png](https://community.atlassian.com/t5/image/serverpage/image-id/339031i0B241CEB9F216940/image-size/large?v=v2&px=999 "2024-07-31_08-50-03.png")

Are there any mods in your Global PDF export settings (Confluence site settings \> Look and Feel, PDF Export?

BTW, there was a question here recently about jumps to headings in a PDF export ending up with about a half-page offset. But that only occurred in Adobe reader, worked fine in Apple's Preview app on a Mac.

This is the Edit mode view

![2024-07-31_08-55-42.png](https://community.atlassian.com/t5/image/serverpage/image-id/339032iDF82AE8EE74B15D5/image-size/large?v=v2&px=999 "2024-07-31_08-55-42.png")


author: Italo Ebel
body: There were actually some mods in the Global PDF export settings, I didn't have access to that. Thank you.

After deleting the mods, the caption appeared as expected:

![caption-exported.png](https://community.atlassian.com/t5/image/serverpage/image-id/339174i3C7BD3D9743CEF92/image-dimensions/371x288?v=v2 "caption-exported.png")

But now I have another case.

When I try to add a header or footer the caption dissappear again. Not only that, the entire document gains a different appearance.

Just by adding a header "my header" in the header section of look and feel, the PDF turns into this:

![caption-exported-2.png](https://community.atlassian.com/t5/image/serverpage/image-id/339192i95458C33EEF7022D/image-dimensions/375x301?v=v2 "caption-exported-2.png")

Is it related to the [@page](/t5/user/viewprofilepage/user-id/2601906) tag or something?

My only modification right now is in the header:

![myheader.png](https://community.atlassian.com/t5/image/serverpage/image-id/339200i9A0EDCE4EA0827D3/image-dimensions/379x217?v=v2 "myheader.png")


author: Kristian Klima
body: That... I don't know. There could be a weird dependency somewhere in the CSS which, I admit, is not my forte...

comments: author: Italo Ebel
body: Understood. Maybe I'll open another question here to solve this.

Thank you for the support [@Kristian Klima](/t5/user/viewprofilepage/user-id/5074962).


Tags: cloud

confluence-cloud

pdf

pdf-export