Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-6530

Scaled images are not exported to PDF

    XMLWordPrintable

Details

    • Unknown

    Description

      If there is a scaled/resized image on a page, it is not included in the PDF.

      e.g. I have this XWiki code on a page:

      [[image:XWikiLogo.png||style="width: 600px; height: 300px;"]]
      

      When doing a "Export as PDF", the image is not included in the PDF.
      In the log I see this message:

      2011-04-11 08:55:29,414 [http://localhost:8080/xwiki/bin/export/Sandbox/WebHome?format=pdf] ERROR apps.FOUserAgent                - Image not found. URI: file:/D:/xwiki%2Denterprise%2Djetty%2Dhsqldb%2D3.0/xwiki%2Denterprise%2Djetty%2Dhsqldb%2D3.0/jetty/work/Jetty_0_0_0_0_8080_xwiki__xwiki__5alevh/HmJ1lUba/pdf5266806435262620903.png?width=603&height=364. (See position 10:666)
      2011-04-11 08:55:30,517 [http://localhost:8080/xwiki/bin/export/Sandbox/WebHome?format=pdf] ERROR properties.PropertyMaker        - forcing opt to max in Length Range
      2011-04-11 08:55:30,524 [http://localhost:8080/xwiki/bin/export/Sandbox/WebHome?format=pdf] ERROR apps.FOUserAgent                - Image not found. URI: file:/D:/xwiki%2Denterprise%2Djetty%2Dhsqldb%2D3.0/xwiki%2Denterprise%2Djetty%2Dhsqldb%2D3.0/jetty/work/Jetty_0_0_0_0_8080_xwiki__xwiki__5alevh/HmJ1lUba/pdf5266806435262620903.png?width=603&height=364. (No context info available)
      

      Attachments

        Activity

          People

            sdumitriu Sergiu Dumitriu
            hor Reto Hotz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: