Uploaded image for project: 'Confluence'
  1. Confluence
  2. CONFLUENCE-154

Maintain image attributes

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 9.29.0
    • 9.28.0
    • Syntax - XHTML
    • None
    • Unknown
    • N/A
    • N/A

    Description

      When importing confluence content that has stylized images, all the different attributes are lost.

       

      This is an example of an image that will be aligned to the right, that has a width set, has a caption and a border.

      <ac:image ac:align="left" ac:layout="align-start" ac:original-height="1200" ac:original-width="1200"
        ac:custom-width="true" ac:alt="some alt text" ac:width="50">
        <ri:attachment ri:filename="rock.jpg" ri:version-at-save="1" />
        <ac:caption>
          <p>sos<em>asdas</em>ame ca<strong>sasd</strong>ion</p>
        </ac:caption>
        <ac:adf-mark key="border" size="2" color="#091e4224" />
      </ac:image> 

      Upon import, the aforementioned attributes are lost:

      [[image:attach:rock.jpg]] 

      Attachments

        Activity

          People

            tcaras Teodor Caras
            tcaras Teodor Caras
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: