PDF exports do not contain images in Confluence 1.1. The same behavior can be seen in confluence.atlassian.com, for example go to

      http://confluence.atlassian.com/pages/exportpage.action?pageId=4389

      and try to export the page in PDF format - no image is present in the PDF.

      The following exception is printed in the log for each image in the export:

      [ERROR] Error while creating area : Error while recovering Image Informations (file:/xxx/confluence/database-xxx/temp/export_06092004_155634/sizes.png) : /xxx/confluence/database-xxx/temp/export_06092004_155634/sizes.png (No such file or directory)

      I checked the export folder and indeed when exporting PDF or HTML version of a page the files aren't written to the export folder.

      The images are displayed normally in the web views though.

            [CONFSERVER-1338] Page exports do not contain images

            Tom Davies added a comment -

            This works in 1.4DR8

            Tom Davies added a comment - This works in 1.4DR8

            I just had the same issue and I resolved it by renaming JimiProClasses1.0.zip to JimiProClasses1.0.jar. After I restarted Tomcat, the exports had all the images loaded properly.

            BTW: I am running under Tomcat 5.0.28. Maybe it has something to do with it.

            Francis Beaudet added a comment - I just had the same issue and I resolved it by renaming JimiProClasses1.0.zip to JimiProClasses1.0.jar. After I restarted Tomcat, the exports had all the images loaded properly. BTW: I am running under Tomcat 5.0.28. Maybe it has something to do with it.

            The image linked on that page doesn't seem to go anywhere, but I'm reopening this to investigate.

            Charles Miller (Inactive) added a comment - The image linked on that page doesn't seem to go anywhere, but I'm reopening this to investigate.

            Sulka Haro added a comment -

            Could someone from Atlassian please reopen this to acknowledge someone is reading the comments?

            Sulka Haro added a comment - Could someone from Atlassian please reopen this to acknowledge someone is reading the comments?

            (we're using confluence 1.2 too)

            Grégory Joseph added a comment - (we're using confluence 1.2 too)

            Same problem here:
            [ERROR] Error while creating area : Error creating FopImage object (file:/usr/local/atlassian/confluence-files/temp/export_09022004_173312/newNotification.png) : Jimi image library not available

            Should we try and put the ancient jini in the classpath? Why is fop not simply using the jre classes to handle PNGs ?

            Grégory Joseph added a comment - Same problem here: [ERROR] Error while creating area : Error creating FopImage object ( file:/usr/local/atlassian/confluence-files/temp/export_09022004_173312/newNotification.png ) : Jimi image library not available Should we try and put the ancient jini in the classpath? Why is fop not simply using the jre classes to handle PNGs ?

            Sulka Haro added a comment -

            Just reported a bug about PNG images not being exported under 1.1.2 - I guess this missing Jimi person might be stealing them! Gotta check if our package is missing it too.

            Sulka Haro added a comment - Just reported a bug about PNG images not being exported under 1.1.2 - I guess this missing Jimi person might be stealing them! Gotta check if our package is missing it too.

            I had the same problem with Confluence 1.2:
            [ERROR] Error while creating area : Error creating FopImage object (file:.../temp/export_08312004_133059/i.png) : Jimi image library not available
            I removed "confluence/WEB-INF/lib/JimiProClasses1.0.zip", and added
            JimiProClasses.jar from http://java.sun.com/products/jimi/.
            And now PDF export includes the images.

            Fedora Core 1, j2sdk1.4.2_05.

            catalina.out:
            [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
            [INFO] building formatting object tree
            [INFO] setting up fonts
            [INFO] [1]
            [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
            [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
            [INFO] JAI support was not installed (read: not present at build time). Trying to use Jimi instead
            [INFO] [2]
            [INFO] Parsing of document complete, stopping renderer

            Ronny Pettersen added a comment - I had the same problem with Confluence 1.2: [ERROR] Error while creating area : Error creating FopImage object ( file:.../temp/export_08312004_133059/i.png ) : Jimi image library not available I removed "confluence/WEB-INF/lib/JimiProClasses1.0.zip", and added JimiProClasses.jar from http://java.sun.com/products/jimi/ . And now PDF export includes the images. Fedora Core 1, j2sdk1.4.2_05. catalina.out: [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] building formatting object tree [INFO] setting up fonts [INFO] [1] [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] JAI support was not installed (read: not present at build time). Trying to use Jimi instead [INFO] [2] [INFO] Parsing of document complete, stopping renderer

            Nathan,

            Hrm - I just exported this page (http://confluence.atlassian.com/display/DOC/Release+Notes+1.1) online and it worked fine, images included etc?

            Do you have a specific URL that doesn't work?

            Cheers,
            Mike

            Mike Cannon-Brookes added a comment - Nathan, Hrm - I just exported this page ( http://confluence.atlassian.com/display/DOC/Release+Notes+1.1 ) online and it worked fine, images included etc? Do you have a specific URL that doesn't work? Cheers, Mike

            Nathan Lee added a comment -

            This is still broken.. The PDF export does not contain the image(s) on the page.

            Nathan Lee added a comment - This is still broken.. The PDF export does not contain the image(s) on the page.

              dave@atlassian.com dave (Inactive)
              ec22805fc0e2 Sulka Haro
              Affected customers:
              1 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: