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

      PDF export creating line break before and after an image.

      Workaround

      Please add the following into the Global PDF Stylesheet:

      img.confluence-embedded-image {  
              display: inline-block !important;  
      }

            [CONFSERVER-37904] PDF export creating line break before and after an image

            this issue is not in 6.6.1 - I just removed the workaround in our instance

            Frank Butzek added a comment - this issue is not in 6.6.1 - I just removed the workaround in our instance

            Rosalind BANWELL added a comment - - edited

            For a moment in 6.0.2 it was working OK, but we've just upgraded to 6.2.1 and it's broken again. I'll try the workaround mentioned above... it works. Now to update all my PDF CSSs...

            Rosalind BANWELL added a comment - - edited For a moment in 6.0.2 it was working OK, but we've just upgraded to 6.2.1 and it's broken again. I'll try the workaround mentioned above... it works. Now to update all my PDF CSSs...

            Frode Evensen added a comment - - edited

            This bug has not been fixed for at least 18 months. This is a major issue for us. We have our documents in Confluence, and regularly export them to send to customers.

            After this bug was introduced we have to export to Word first. Here all inline images are displayed correct, but other images are not shown at all. Then we have to copy every image from the web to the Word file, and then export to PDF.

            Please give us a time frame for when you will look into this, or be honest and close the case with "Won't fix", so we who rely on this feature can switch from Confluence to another solution.

            (and you can add 5.10.2 as affected version)

            Frode Evensen added a comment - - edited This bug has not been fixed for at least 18 months. This is a major issue for us. We have our documents in Confluence, and regularly export them to send to customers. After this bug was introduced we have to export to Word first. Here all inline images are displayed correct, but other images are not shown at all. Then we have to copy every image from the web to the Word file, and then export to PDF. Please give us a time frame for when you will look into this, or be honest and close the case with "Won't fix", so we who rely on this feature can switch from Confluence to another solution. (and you can add 5.10.2 as affected version)

            This bug is still present in version 6.0.3

            Frank Butzek added a comment - This bug is still present in version 6.0.3

            Hello, this is also not working for me. Does this really fix the issue?

            Debbie Ryan added a comment - Hello, this is also not working for me. Does this really fix the issue?

            damien.reyt,

            I believe you have an open support ticket, and I will work with the support engineer that is assigned the ticket to figure out why the workaround is not changing the behavior in your instance.

            Regards,
            Stephen Brannen | Confluence Support

            Branno (Inactive) added a comment - damien.reyt , I believe you have an open support ticket, and I will work with the support engineer that is assigned the ticket to figure out why the workaround is not changing the behavior in your instance. Regards, Stephen Brannen | Confluence Support

            reytd added a comment -

            Hi, this workaround did not worked for me. pdf exports are still showing vertical images

            reytd added a comment - Hi, this workaround did not worked for me. pdf exports are still showing vertical images

            Branno (Inactive) added a comment - - edited

            I've added the following workaround to the description, but this will render images inline (while keeping any line breaks you intentionally add in, and correctly move images to a new line if they won't fit on the current line}

            img.confluence-embedded-image {  
                    display: inline-block !important;  
            }

            Cheers,
            Stephen Brannen | Confluence Support

            Branno (Inactive) added a comment - - edited I've added the following workaround to the description, but this will render images inline (while keeping any line breaks you intentionally add in, and correctly move images to a new line if they won't fit on the current line} img.confluence-embedded-image { display: inline-block !important; } Cheers, Stephen Brannen | Confluence Support

            4 months gone and no news on this bug? PDF Export of our documentations are looking terrible with this bug!!! We need a solution!
            Priority must be high!

            Thomas Fleischer added a comment - 4 months gone and no news on this bug? PDF Export of our documentations are looking terrible with this bug!!! We need a solution! Priority must be high!

            Is there a workaround?

            Thomas Fleischer added a comment - Is there a workaround?

              mbereznitsky Mark Bereznitsky
              mfahd Fahd
              Affected customers:
              10 This affects my team
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: