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

Thumbnail images are not affected by the maximum size settings in general config

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Low Low
    • None
    • 3.0
    • None

      Go to General Configuration, and set the maximum height and width for thumbnails.

      Now visit a page such as https://qa-eac.atlassian.com/display/DRAFTDEMO/Creating+a+thumbnail+gallery

      Not that the thumbnails contained in the gallery macro are being affected by the setting, but that the single images displayed as thumbnails are not.

          Form Name

            [CONFSERVER-16892] Thumbnail images are not affected by the maximum size settings in general config

            Hi There

            Thanks for taking the time to raise this issue. As you are no doubt aware this issue has been on our backlog now for quite some time with very little or no progress being made.

            Because this issue is now older than 2 years, has a low priority and has no votes I'm going to close this as won't fix. Unfortunately it is unlikely that we'd be able to address this issue in the foreseeable future.

            Regards
            Steve Haffenden
            Confluence Bugmaster

            Steve Haffenden (Inactive) added a comment - Hi There Thanks for taking the time to raise this issue. As you are no doubt aware this issue has been on our backlog now for quite some time with very little or no progress being made. Because this issue is now older than 2 years, has a low priority and has no votes I'm going to close this as won't fix. Unfortunately it is unlikely that we'd be able to address this issue in the foreseeable future. Regards Steve Haffenden Confluence Bugmaster

            The problem seems to be in Thumber.retrieveOrCreateThumbNail. When it looks to see if a thumbnail exists it ignores the passed size, so if the existing thumbnail is the wrong size for the current global settings it doesn't get regenerated.

            In the example given, the gallery macro appears to be manually setting a width and height on the thumbnail img tag it displays but the thumbnail size itself will be whatever was calculated the first time it was requested.

            David Taylor (Inactive) added a comment - The problem seems to be in Thumber.retrieveOrCreateThumbNail. When it looks to see if a thumbnail exists it ignores the passed size, so if the existing thumbnail is the wrong size for the current global settings it doesn't get regenerated. In the example given, the gallery macro appears to be manually setting a width and height on the thumbnail img tag it displays but the thumbnail size itself will be whatever was calculated the first time it was requested.

            You're right, the bug also affects 3.0.

            Mark Hrynczak (Inactive) added a comment - You're right, the bug also affects 3.0.

            Don Willis added a comment -

            I strongly doubt this is new to 3.1. Did you test it in an older version Mark? (We should still fix it of course)

            Don Willis added a comment - I strongly doubt this is new to 3.1. Did you test it in an older version Mark? (We should still fix it of course)

              shaffenden Steve Haffenden (Inactive)
              mhrynczak Mark Hrynczak (Inactive)
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: