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

      A large image is just cutted in width on a PDF export instead of being resized.

      Workaround:

      A workaround is this PDF Stylesheet:

      img
      {
       -fs-fit-images-to-width: 100%  !important;
      }
      

        1. COLORFLOW75-061015-1330-27.pdf
          20 kB
        2. Gliffy images on pdf.png
          Gliffy images on pdf.png
          62 kB
        3. Gliffy on page.png
          Gliffy on page.png
          50 kB

            [CONFSERVER-33727] Large images are cut off on PDF Export

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2879054 ] New: CONFSERVER Bug Workflow v4 [ 2987568 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2779375 ] New: JAC Bug Workflow v3 [ 2879054 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2736562 ] New: JAC Bug Workflow v2 [ 2779375 ]
            Owen made changes -
            Symptom Severity Original: Minor [ 14432 ] New: Severity 3 - Minor [ 15832 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2375602 ] New: JAC Bug Workflow [ 2736562 ]

            Jon James added a comment - - edited

            I have found a workaround for this issue. While it's not very elegant, this has been open for 3 years with little progress so I'll post it anyway. This is specific to the gliffy diagrams, which export as images with area maps inside of nested tables. I have also been able to set specific widths this way.

             

            Hopefully this saves some others the hours I have spent repeatedly exporting the same page!

            .gliffy-macro-image { 
            -fs-fit-images-to-width: 100% !important; 
            }
            
            .gliffy-macro-table { 
            text-align:left; 
            }

            Jon James added a comment - - edited I have found a workaround for this issue. While it's not very elegant, this has been open for 3 years with little progress so I'll post it anyway. This is specific to the gliffy diagrams, which export as images with area maps inside of nested tables. I have also been able to set specific widths this way.   Hopefully this saves some others the hours I have spent repeatedly exporting the same page! .gliffy-macro-image { -fs-fit-images-to-width: 100% !important; } .gliffy-macro-table { text-align:left; }
            Alex Yakovlev (Inactive) made changes -
            Labels Original: affects-cloud affects-server bugfix loyalty pdf-export New: affects-cloud affects-server loyalty pdf-export
            Alex Yakovlev (Inactive) made changes -
            Labels Original: affects-cloud affects-server bugfix pdf-export New: affects-cloud affects-server bugfix loyalty pdf-export
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2262354 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2375602 ]
            Michael Andreacchio made changes -
            UIS Original: 6

              Unassigned Unassigned
              frank.butzek Frank Butzek
              Affected customers:
              24 This affects my team
              Watchers:
              40 Start watching this issue

                Created:
                Updated:
                Resolved: