Existing profile pictures do not get resized to the 48x48 standard during the upgrade process. New profile pictures are resized during the upload process. The large images break display. For example, a comment will be obscured with the fullsize profile image.

      A better solution (related to CONF-9375) may be to use full-size images, but generate thumbnails for commenting, etc.

            [CONFSERVER-12148] Profile Images Not Resized During Upgrade

            Hi mdavey@emich.edu

            Thanks for taking the time to raise this issue. This has been on our backlog now for 6 years with very little movement in that time. Rather that leave this here I'm going to close the issue as won't fix, I believe that this better reflect its status.

            If the issue is raised again in the future we'll readdress it

            Regards
            Steve Haffenden
            Confluence Bugmaster
            Atlassian

            Steve Haffenden (Inactive) added a comment - Hi mdavey@emich.edu Thanks for taking the time to raise this issue. This has been on our backlog now for 6 years with very little movement in that time. Rather that leave this here I'm going to close the issue as won't fix, I believe that this better reflect its status. If the issue is raised again in the future we'll readdress it Regards Steve Haffenden Confluence Bugmaster Atlassian

            We too experiencing the same problem after upgrading from 2.7.3 to 2.10.3

            Vishal Jain added a comment - We too experiencing the same problem after upgrading from 2.7.3 to 2.10.3

            i guess you wrote 1520 into that file. You did not mention that the folder the class-file has to go into should be WEB-INF/classes/com/atlassian/confluence/upgrade/upgradetask not WEB-INF/classes/com/atlassian/confluence/upgrade, that seems to have changed between 2.10 an 2.10.3 ...

            But nonetheless if the correct Folder is stated it works !!!

            Frank Stiller added a comment - i guess you wrote 1520 into that file. You did not mention that the folder the class-file has to go into should be WEB-INF/classes/com/atlassian/confluence/upgrade/upgradetask not WEB-INF/classes/com/atlassian/confluence/upgrade , that seems to have changed between 2.10 an 2.10.3 ... But nonetheless if the correct Folder is stated it works !!!

            Anatoli added a comment -

            Hi Frank,

            I have attached ResizeProfileImagesUpgradeTask.class file for 2.10.3. You will still have to default.properties to make the upgrade task run.

            Anatoli.

            Anatoli added a comment - Hi Frank, I have attached ResizeProfileImagesUpgradeTask.class file for 2.10.3. You will still have to default.properties to make the upgrade task run. Anatoli.

            Same problem.

            Recently upgraded from 2.5.6 to 2.10.3 and the profile pictures did not resize.

            The recently updated is without showing the profile pictures but People Directory and comments are not really useable. Can you upload a patched class file for 2.10.3, or is it better to contact support?

            cheers
            Frank

            Frank Stiller added a comment - Same problem. Recently upgraded from 2.5.6 to 2.10.3 and the profile pictures did not resize. The recently updated is without showing the profile pictures but People Directory and comments are not really useable. Can you upload a patched class file for 2.10.3, or is it better to contact support? cheers Frank

            Don Willis added a comment -

            This is strange, because Confluence does have a ResizeProfileImagesUpgradeTask for performing this resize. It has existed for a very long time, as has the upgrade during upload process mentioned.

            My guess is that for some customers this upgrade task failed at some stage in the distant past, but that in previous versions of Confluence we still declared the display size of images, and therefore scrunched the images appropriately.

            We could probably fix this by increasing the number on the upgrade task, so that it runs again for everybody. It shouldn't cause any problems to run this task in later version.

            In the meantime I suggest that if you hit this and it is causing a problem for you, ask support.atlassian.com for a patched version of ResizeProfileImagesUpgradeTask and instructions for running it.

            Basically the steps are:

            • Find your current buildNumber. It's in confluence.cfg.xml and the System Information page. I'll refer to it as "b" from now on.
            • Alter ResizeProfileImagesUpgradeTask.java to return b+1 and recompile it. Put the class file in WEB-INF/classes/com/atlassian/confluence/upgrade
            • Extract the default.properties file from the Confluence jar and set the version.number to b+2
            • Either rewrite the default.properties file to the jar or put it in WEB-INF/classes/com/atlassian/confluence
            • Restart Confluence

            This should run the upgrade task and fix the images. Check the log for errors and report them to support.atlassian.com

            Cheers,
            Don

            Don Willis added a comment - This is strange, because Confluence does have a ResizeProfileImagesUpgradeTask for performing this resize. It has existed for a very long time, as has the upgrade during upload process mentioned. My guess is that for some customers this upgrade task failed at some stage in the distant past, but that in previous versions of Confluence we still declared the display size of images, and therefore scrunched the images appropriately. We could probably fix this by increasing the number on the upgrade task, so that it runs again for everybody. It shouldn't cause any problems to run this task in later version. In the meantime I suggest that if you hit this and it is causing a problem for you, ask support.atlassian.com for a patched version of ResizeProfileImagesUpgradeTask and instructions for running it. Basically the steps are: Find your current buildNumber. It's in confluence.cfg.xml and the System Information page. I'll refer to it as "b" from now on. Alter ResizeProfileImagesUpgradeTask.java to return b+1 and recompile it. Put the class file in WEB-INF/classes/com/atlassian/confluence/upgrade Extract the default.properties file from the Confluence jar and set the version.number to b+2 Either rewrite the default.properties file to the jar or put it in WEB-INF/classes/com/atlassian/confluence Restart Confluence This should run the upgrade task and fix the images. Check the log for errors and report them to support.atlassian.com Cheers, Don

            We are experiencing the same problem after upgrading from 2.6.0 to 2.8.1 - some of the profile pictures are huge and seriously damage some pages.

            Kai Bormann added a comment - We are experiencing the same problem after upgrading from 2.6.0 to 2.8.1 - some of the profile pictures are huge and seriously damage some pages.

              shaffenden Steve Haffenden (Inactive)
              c477893aa381 Matt Davey
              Affected customers:
              4 This affects my team
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: