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

Flickr repository not working (changes in Flickr API?)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.2.4, 2.3.1, 2.4
    • 2.2.5, 2.3.2
    • Repositories
    • MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • MDL-34633-master
    • Hide

      Test pre-requisites

      • Access to a Flickr account
      • Flickr and Flickr public repository enabled
      • Flickr repository set up
      • Created an instance of Flickr Public using your account's email address
      • Two pics on the Flickr account
        • One massively bigger than 320x240 (1024x768 recommended)
        • One very small (any 16x16 icon from Moodle will do)

      Test steps

      1. Go to your private files, click 'Add'
      2. Browse your Flickr repository
        1. Add the small image
        2. Make sure it is correctly download (check filesize, try to preview it)
        3. Add the large image
        4. Make sure it is correctly download (check filesize, try to preview it)
        5. Make sure the image dimensions are close or exactly the same as the original one
      3. Browse your Flickr Public instance
        1. Add the small image
        2. Make sure it is correctly download (check filesize, try to preview it)
        3. Add the large image
        4. Make sure it is correctly download (check filesize, try to preview it)
        5. Make sure the image dimensions are close or exactly the same as the original one
      Show
      Test pre-requisites Access to a Flickr account Flickr and Flickr public repository enabled Flickr repository set up Created an instance of Flickr Public using your account's email address Two pics on the Flickr account One massively bigger than 320x240 (1024x768 recommended) One very small (any 16x16 icon from Moodle will do) Test steps Go to your private files, click 'Add' Browse your Flickr repository Add the small image Make sure it is correctly download (check filesize, try to preview it) Add the large image Make sure it is correctly download (check filesize, try to preview it) Make sure the image dimensions are close or exactly the same as the original one Browse your Flickr Public instance Add the small image Make sure it is correctly download (check filesize, try to preview it) Add the large image Make sure it is correctly download (check filesize, try to preview it) Make sure the image dimensions are close or exactly the same as the original one

    Description

      After picking a file from Flickr repository it has 0 size. Seems that Flickr API has changed recently.

      After digging a little I noticed that function repository_flickr::build_photo_url() returns empty string. Flickr method flickr.photos.getSizes returns smaller array than we expect.

      Did not test on versions smaller than 2.3

      Attachments

        Issue Links

          Activity

            People

              fred Frédéric Massart
              marina Marina Glancy
              Marina Glancy Marina Glancy
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Rossiani Wijaya Rossiani Wijaya
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Sep/12