Image inside an expand macro continuously scales up and down in size during both view and edit modes

XMLWordPrintable

    • 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

      1. Create a new Confluence page.
      2. Attach any PNG image.
      3. 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.

            Assignee:
            Ashleigh Christopher
            Reporter:
            Joshua T (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: