XWiki Platform
  1. XWiki Platform
  2. XWIKI-6530

Scaled images are not exported to PDF

    Details

    • Difficulty:
      Unknown
    • Similar issues:
      XWIKI-9606Scaled image attachments don't appear in the PDF export
      XWIKI-2556Scaled images in exported PDF and RTF have wrong dimensions
      XWIKI-7490Image size do not display correctly in the PDF export
      XWIKI-5919Scale down images without specified dimensions in the PDF export to correspond to modern DPI settings
      XWIKI-2445Exporting to PDF an External Image
      XWIKI-5726image does not appear in pdf export
      XWIKI-10166The size and position of the image in the PDF export are not those that have been configured in the document
      XWIKI-6281Profile image exported to PDF in its original size
      XWIKI-2498Exporting a page with an image to PDF fails on Jetty
      XWIKI-7665Display embedded SVG images in the PDF export

      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)
      

        Activity

        Hide
        Sergiu Dumitriu added a comment -

        Looks like a Windows-only problem, the filenames look pretty weird (the width and height shouldn't be in the filename).

        Show
        Sergiu Dumitriu added a comment - Looks like a Windows-only problem, the filenames look pretty weird (the width and height shouldn't be in the filename).
        Hide
        Reto Hotz added a comment -

        I'm using Windows 7 (32bit, english).

        Show
        Reto Hotz added a comment - I'm using Windows 7 (32bit, english).
        Hide
        Sergiu Dumitriu added a comment -

        Fixed in fa7514d.

        Show
        Sergiu Dumitriu added a comment - Fixed in fa7514d.

          People

          • Assignee:
            Sergiu Dumitriu
            Reporter:
            Reto Hotz
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Date of First Response: