-
Type:
Bug
-
Resolution: Cannot Reproduce
-
Priority:
Low
-
Component/s: Macros - Other - Native (1st Party)
-
None
-
1
-
Severity 3 - Minor
Issue Summary
When an image inside an expand macro is published, the image continuously decreases in size until it gets too small, and then it jumps back to its full size and resume shrinking again.
Steps to Reproduce
- Create a new Confluence page.
- Attach any PNG image.
- Using a REST PUT request, add the following storage format body to the page. Replace "myImage.png" with the same of the file you uploaded.
<ac:structured-macro ac:name="expand" ac:schema-version="1" ac:macro-id="0a50188c-aecc-460b-9161-5d832ab1e712"> <ac:parameter ac:name="title">Expand title</ac:parameter> <ac:rich-text-body> <ac:link> <ri:page ri:content-title="Link page name" ri:version-at-save="1" /> <ac:link-body> <ac:image ac:align="center" ac:layout="full-width" ac:original-height="215" ac:original-width="1280" ac:width="960"> <ri:attachment ri:filename="myImage.png" ri:version-at-save="1" /> </ac:image> </ac:link-body> </ac:link> </ac:rich-text-body> </ac:structured-macro>
Expected Results
- The image inside the expand should display at a fixed size.
Actual Results
- The image continuously decreases in size until it gets too small, and then it jumps back to its full size and resume shrinking again.
Workaround
- Updating the page should fix the issue by wrapping the <ac:link> in a <p> tag. This can be done using a REST PUT request.
- mentioned in
-
Page Loading...