Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-56061

Profile Avatars (Profile pictures) appears too large in PDF export

    XMLWordPrintable

Details

    Description

      Summary

      Profile Avatars (Profile pictures) appears too large in PDF export.

      Steps to Reproduce

      1. Install Confluence and create some content with different user
      2. Upload a profile picture for different users
      3. Create a page with content that has one of the following macros (Recently Updated, Blog Posts, User Profile, etc.)
      4. Export the page to PDF

      Expected Results

      The layout and size of the user profile picture in the page should be respected in the

      Actual Results

      The User profile picture appears very big and changes the page layout.
      ds-cdcbd-060718-1556-19.pdf

      notesh3. Notes
      This issue is not reproducible with Confluence 6.2.x

      Workaround

      1. Add the following CSS lines into the Global PDF Stylesheet, (ConfluenceBaseURL)/admin/flyingpdf/viewpdfstyleconfig.action

        • To hide the image completely
      • .userLogo.logo  
        {  
        display: none !important;
        } 
        
        • To change it to the default size
      • .userLogo.logo  
        {  
        width: 48px !important;
        height: 48px !important;
        border-radius: 3px !important;
        } 
        

      2. Another option would be to use the browser's Print to PDF option.

      Attachments

        Activity

          People

            mbereznitsky Mark Bereznitsky
            oraissi Omar Raissi
            Votes:
            7 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: