-
Bug
-
Resolution: Fixed
-
Medium
-
5.6-OD-39-039, 5.9.2, 5.9.7, 5.10.8, 6.1.0, 6.2.3
-
25
-
Severity 2 - Major
-
6
-
NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.
PDF Exports of wiki page with centered images don't include images.
Steps to reproduce:
- Create a page and insert an image jpg, png etc...
- Export the page to PDF. You should see that the image(s) did export.
- Edit the page and align the image to the center.
- Export the page to PDF again.
Expected result: Image shows in the center.
Actual result: Image is not displayed.
Cause:
The alignment done using the image tags is not being exported:
This is the "Storage Format" of a centered image that is not exported to PDF:
<p><ac:image ac:align="center"><ri:attachment ri:filename="image.jpg"><ri:page ri:content-title="Images Page" ri:space-key="KB" /></ri:attachment></ac:image></p>
and this is the one of an image centered by using the workaround and is exported to PDF (without alignment)
<p style="text-align: center;"><ac:image><ri:attachment ri:filename="image.jpg"><ri:page ri:content-title="Images Page" ri:space-key="KB" /></ri:attachment></ac:image></p>
Workaround:
center-align the cursor before including the image to the page.
The image will be added in the center and will be displayed in PDF exports.
- duplicates
-
CONFSERVER-32451 PDF preview omits some content, such as images
- Closed
-
CONFSERVER-36997 Export as PDF doesn't show all pictures
- Closed
- is duplicated by
-
CONFSERVER-39503 Missing images in Space/Page PDF export when images align="center" in a page
- Closed
-
CONFSERVER-38734 Images Aligned Center in a Panel Macro Do Not Appear in PDF Export
- Closed
-
CONFSERVER-39963 Images in centered paragraph are left aligned in PDF export
- Closed
- is related to
-
CONFSERVER-38632 Images are not Center Aligned in Confluence
- Gathering Impact
- relates to
-
CONFCLOUD-35945 Export to PDF, Centered Images are not included in .pdf file
- Closed
- was split into
-
CONFSERVER-39962 Remove special "center image" feature in editor
- Closed