Steps:

      • I attach an svg image (e.g. "test.svg") to a page
      • When editing the page, I embed the svg image. I use {html}

        tag with content:
        <EMBED src="/download/attachments/360451/test.svg" height="360" width="550"></EMBED>
        or
        <IFRAME frameborder="1" height="360" scrolling="no" src="/download/attachments/360451/test.svg" width="550"></IFRAME>

      The embedded image displays correctly when I view the page in browser or print it.

      Only trouble is that the embedded SVG is left out completely from generated PDF. In fact, it is left out of generated Word doc also.

            [CONFSERVER-8047] Embedded SVG images are not included in generated PDF

            This would be really nice as it would improve the print quality of pages. Our add-on internally uses SVG graphics for embedding diagrams into Confluence pages and we'd love to be able to output it in PDF/Word export.
            Any chance this could be reopened?

            Dmitry [Lucidchart] added a comment - This would be really nice as it would improve the print quality of pages. Our add-on internally uses SVG graphics for embedding diagrams into Confluence pages and we'd love to be able to output it in PDF/Word export. Any chance this could be reopened?

            I recommend seeing if the SVG Image Macro can display SVG images in PDF exports, instead of using the embed or iframe HTML tags. The SVG Image Macro is available from http://confluence.atlassian.com/display/CONFEXT/SVG+Image+Macro

            David Soul [Atlassian] added a comment - I recommend seeing if the SVG Image Macro can display SVG images in PDF exports, instead of using the embed or iframe HTML tags. The SVG Image Macro is available from http://confluence.atlassian.com/display/CONFEXT/SVG+Image+Macro

            Anatoli added a comment -

            We cannot guarantee that everything inside

            {html}

            macro will be rendered in pdf/word document.
            In general iframe and embed tags may support features that aren't supported by pdf/word format (eg. embedding movie objects)

            Anatoli added a comment - We cannot guarantee that everything inside {html} macro will be rendered in pdf/word document. In general iframe and embed tags may support features that aren't supported by pdf/word format (eg. embedding movie objects)

              akazatchkov Anatoli
              ari.manninen Ari Manninen
              Affected customers:
              0 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: