Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-35669

Gravatar integration appears to have stopped working

    XMLWordPrintable

Details

    • MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • MDL-35669-master-2
    • Hide

      Note: This requires testing under 22 & 23 (master is 100% equivalent to 23).

      On a server with enablegravatar switched on:

      Test 1 (default setting)

      1. Leave the gravatardefaulturl setting at the default
      2. View the profile of a user whose email address is not linked to a gravatar profile
      3. You should see Gravatar's "mystery man" image as the profile picture

      Test 2 (custom image)

      1. Set the gravatardefaulturl setting to the URL of an image
      2. View the profile of a user whose email address is not linked to a gravatar profile
      3. You should see the image from step 1

      Test 3 (empty setting)

      1. Set the gravatardefaulturl setting to the empty string
      2. View the profile of a user whose email address is not linked to a gravatar profile
      3. You should see the default image for the current page's theme
      Show
      Note: This requires testing under 22 & 23 (master is 100% equivalent to 23). On a server with enablegravatar switched on: Test 1 (default setting) Leave the gravatardefaulturl setting at the default View the profile of a user whose email address is not linked to a gravatar profile You should see Gravatar's "mystery man" image as the profile picture Test 2 (custom image) Set the gravatardefaulturl setting to the URL of an image View the profile of a user whose email address is not linked to a gravatar profile You should see the image from step 1 Test 3 (empty setting) Set the gravatardefaulturl setting to the empty string View the profile of a user whose email address is not linked to a gravatar profile You should see the default image for the current page's theme

    Description

      This morning we've noticed that Gravatar integration has stopped working on our server (it was working yesterday). This can also be seen on the moodle.org server (e.g. http://moodle.org/user/view.php?id=1504560&course=5)

      It looks as if Gravatar may have introduced checking for a file extension for default images - the image URL generated for the above example user is http://www.gravatar.com/avatar/6df0d771964ef4d1f10cab72149d8460?s=100&d=http%3A%2F%2Fmoodle.org%2Ftheme%2Fimage.php%2Fmoodleofficial%2Fcore%2F1348555103%2Fu%2Ff1 which is now giving a page saying "The type of image you are trying to process is not allowed".

      I have checked this on various themes, including standard, and it isn't working on any of them so I don't think it is caused by a corrupt image file or anything like that. I've also checked the Gravatar site to see if this is documented but can't find it anywhere (so all this is just speculation!)

      Attachments

        Issue Links

          Activity

            People

              maherne Michael Aherne
              maherne Michael Aherne
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Jason Fowler Jason Fowler
              Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              6 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/Nov/12