-
Bug
-
Resolution: Duplicate
-
Low
NOTE: This bug report is for Confluence Cloud. Using Confluence Server? See the corresponding bug report.
Summary
Embedded images in a Panel-type macro (Panel, Warning, Info, Note, Tip) which are align Center do not appear when the page is exported to PDF
Environment
- 5.9.1-OD-62
Steps to Reproduce
- Create a page with a Panel Macro (Panel, Warning, Info, Note, Tip)
- Add an Image and align Center
- Save Page and Export to PDF
Expected Results
Image is displayed in Panel
Actual Results
Notes
Workaround
Use the Confluence Source Editor to adjust the storage format
- Go into the source code
- Find your centered image in the source code:
<p> <span style="text-decoration: underline;"> <ac:image ac:align="center" ac:height="150"> <ri:attachment ri:filename=“example.jpg"/> </ac:image> </span> </p>
- Removed ac:align="center”
- Change the first <p> to <p style="text-align: center;”>
- End result should be:
<p style="text-align: center;"> <span style="text-decoration: underline;"> <ac:image ac:height="150"> <ri:attachment ri:filename=“example.jpg"/> </ac:image> </span> </p>
- PDF should now export with the center aligned image
- duplicates
-
CONFCLOUD-35945 Export to PDF, Centered Images are not included in .pdf file
- Closed
- is related to
-
CONFSERVER-38734 Images Aligned Center in a Panel Macro Do Not Appear in PDF Export
- Closed