Image added using Excerpt include macro shrinks in edit mode

XMLWordPrintable

    • 5
    • Severity 3 - Minor
    • 0

      Issue Summary

      When using the Excerpt Include macro on a page to display an image, the included image shrinks, in edit mode, and it is so small that you can barely see it. This makes it hard to interact with.

      The image appears correctly when the page is published. The image only shrinks in edit mode.

      Steps to Reproduce

      1. Create a page with an Excerpt macro.
      2. Add an image inside the Excerpt macro. (Alternatively, add an image outside the Excerpt macro, align it left or right, and then paste that inside the Excerpt macro.)
      3. Resize the image. (not necessary if you aligned the image outside of the Excerpt macro)
      4. Create a page with an Excerpt Include macro.
      5. Include the image from Excerpt macro and Remove border panel.
      6. Publish the page.
      7. Edit the page.

      Expected Results

      The included image in Excerpt Include macro, should load fine in edit mode.

      Actual Results

      The included image in Excerpt Include macro shrinks so small that we barely see it.

      Notice that the storage format has something like this:

      <ac:image ac:align="left" ac:layout="align-start" ac:original-height="418" ac:original-width="1280" ac:width="566">
      <ac:image ac:align="center" ac:layout="center" ac:original-height="418" ac:original-width="1280" ac:width="231">

      Workaround

      Host the image on a separate page and use Include Page macro to display it on another page.

            Assignee:
            xtan
            Reporter:
            Jagriti
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: