-
Bug
-
Resolution: Duplicate
-
Low
-
None
-
5.9.1-OD-62-010, 5.8.8
NOTE: This bug report is for Confluence Server. Using Confluence Cloud? 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
-
CONFSERVER-35945 Export to PDF, Centered Images are not included in .pdf file
-
- Closed
-
- relates to
-
CONFCLOUD-38734 Images Aligned Center in a Panel Macro Do Not Appear in PDF Export
-
- Closed
-
[CONFSERVER-38734] Images Aligned Center in a Panel Macro Do Not Appear in PDF Export
Workflow | Original: JAC Bug Workflow v3 [ 2896828 ] | New: CONFSERVER Bug Workflow v4 [ 2990020 ] |
Workflow | Original: JAC Bug Workflow v2 [ 2788311 ] | New: JAC Bug Workflow v3 [ 2896828 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JAC Bug Workflow [ 2719100 ] | New: JAC Bug Workflow v2 [ 2788311 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2387511 ] | New: JAC Bug Workflow [ 2719100 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 2263060 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2387511 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2220252 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 2263060 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2157939 ] | New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2220252 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 1942230 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2157939 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v3 [ 1723756 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 1942230 ] |
Description |
Original:
h3. 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 h3. Environment * 5.9.1-OD-62 h3. Steps to Reproduce # Create a page with a Panel Macro (Panel, Warning, Info, Note, Tip) # Add an Image and align Center #- !PageView.png|thumbnail! # Save Page and Export to PDF h3. Expected Results Image is displayed in Panel h3. Actual Results !PDFScreenshot.png|thumbnail! h3. Notes h3.Workaround Use the [Confluence Source Editor|https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor.confluence-source-editor/server/overview] to adjust the storage format # Go into the source code # Find your centered image in the source code: {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> {code} # Removed *ac:align="center”* # Change the first *<p>* to *<p style="text-align: center;”>* # End result should be: {code}<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> {code} # PDF should now export with the center aligned image |
New:
{panel:bgColor=#e7f4fa} *NOTE:* This bug report is for *Confluence Server*. Using *Confluence Cloud*? [See the corresponding bug report|http://jira.atlassian.com/browse/CONFCLOUD-38734]. {panel} h3. 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 h3. Environment * 5.9.1-OD-62 h3. Steps to Reproduce # Create a page with a Panel Macro (Panel, Warning, Info, Note, Tip) # Add an Image and align Center #- !PageView.png|thumbnail! # Save Page and Export to PDF h3. Expected Results Image is displayed in Panel h3. Actual Results !PDFScreenshot.png|thumbnail! h3. Notes h3.Workaround Use the [Confluence Source Editor|https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor.confluence-source-editor/server/overview] to adjust the storage format # Go into the source code # Find your centered image in the source code: {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> {code} # Removed *ac:align="center”* # Change the first *<p>* to *<p style="text-align: center;”>* # End result should be: {code}<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> {code} # PDF should now export with the center aligned image |