pdf export fails to retrieve image if the image on the page is a web image and url contains "download/attachments"

XMLWordPrintable

    • 30
    • Severity 3 - Minor

      NOTE: This bug report is for Confluence Cloud. Using Confluence Server? See the corresponding bug report.

      If you insert a web image to a page whose url contains the text download/attachments (such as this image http://confluence.atlassian.com/download/attachments/139467/confluence-3-0-profile-view.png?version=2&modificationDate=1243658607572), and then export that page as pdf, the image will not resolve, and you will get a warning in the logs

      [confluence.extra.flyingpdf.ConfluenceExportUserAgent] getImageResource Could not retrieve image resource http://confluence.atlassian.com/download/attachments/139467/confluence-3-0-profile-view.png?version=2&modificationDate=1243658607572 during Confluence export : The byte array is not a recognized imageformat.
      

      The pdf exports continue, but where the image should've been, is instead an empty space.

      Workaround:

      Add the problematic image as an attachment first, and then replace the web image with the attachment on the page before exporting.

            Assignee:
            Unassigned
            Reporter:
            Chii (Inactive)
            Votes:
            20 Vote for this issue
            Watchers:
            24 Start watching this issue

              Created:
              Updated:
              Resolved: