xwiki-attic / application-confluence-migrator

Migrates content from Confluence to XWiki
GNU Lesser General Public License v2.1
3 stars 7 forks source link

Maintain image width and height set in Confluence #86

Open snazare opened 1 year ago

snazare commented 1 year ago

Users commonly set a fixed width and height in Confluence. When importing Confluence pages into XWiki, the set size is lost.

fknorn commented 1 year ago

It would be great to see any kind of progress with this.

In Confluence, an image with custom width looks like this:

  <ac:image ac:width="500">
    <ri:attachment ri:filename="big_image_2000w.png"/>
  </ac:image>

In a first step, you could simply carry over this ac:width="500" value to style="max-width: 500px".

Thanks!