Giphy

Repositories ::: repository_giphy
Maintained by Andrei Băutu
Moodle plugin for using of Giphy.com as repository
Latest release:
10 sites
3 downloads
6 fans
Current versions available: 1
Moodle plugin for using of Giphy.com as repository

How to setup 

  1. Download and install the plugin, as indicated here https://docs.moodle.org/31/en/Installing_plugins. Access Site administration > Plugins > Repositories > Manage repositories. 
  2. Enable the plugin and access its settings page. 
  3. Fill in the Giphy API key (you can get one from https://developers.giphy.com/dashboard/)
  4. Optional, limit the available files to a specific rating level.

How to use

  1. Select any field that triggers the file picker (e.g. file upload in assignments, link in forum posts, etc.)
  2. In the File picker, select the Giphy repository. 
  3. Search or browse the available images to select one.
  4. For the selected image, you will be presented with multiple options for format and resolutions to select from.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3

Contributors

Andrei Băutu (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Matthew Cook
    Tue, 18 Sept 2018, 9:09 AM
    Why I attempt to select Giphy from the list of repositories on the File Picker dialog box in Moodle 3.5, I get the following error:

    Exception - Too few arguments to function html_writer::img(), 1 passed in [dirroot]/repository/giphy/lib.php on line 235 and at least 2 expected
  • Martin Stolzlechner
    Sat, 31 Oct 2020, 1:00 AM
    Dear Andrei,

    I tried to use your plugin in a Moodle 3.9.2.+ installation but I keep getting the same error as mentioned by Matthew. Is there any fix?

    Thank you!
  • Andrei Băutu
    Thu, 12 Nov 2020, 9:12 PM
    Hello Martin and Matthew, I updated the code and tested the plugin on Moodle 3.10. Please give it a try now.
    Matthew, I'm sorry this small fix comes after more than 2 years since you reported it.
  • Martin Stolzlechner
    Sat, 14 Nov 2020, 4:46 AM
    Hello Andrei, thank you for your time and effort! Just tried it and it works like a charm! Great plugin for a bit of fun to lighten the mood! Thank you!
  • Sabrina Hegenberg
    Wed, 14 Apr 2021, 5:30 PM
    Hello Andrei,

    thanks for your effort to create such a cool plugin.

    Sadly, I have a problem with using the gifs on our moodle website. In the file packer I can see all gifs and can search for many more, but if I select a gif, a message is seen with "No data available". And I don't know why sad

    Do I need a ADI production key or is there a different problem I need to fix in moodle itself?

    Thanks for your help!
  • Andrei Băutu
    Wed, 14 Apr 2021, 6:40 PM
    I can test to see if anything change within the API. Can you tell me which moodle version do you use?
  • Sabrina Hegenberg
    Thu, 15 Apr 2021, 2:06 PM
    Thank you so much! We are using the version 3.10.3
  • Andrei Băutu
    Sun, 18 Apr 2021, 10:45 PM
    Hello, Sabrina. I tested with a fresh install of 3.10.3 and it works. You do need an API key for it to work. You can use a free key.
  • Sabrina Hegenberg
    Mon, 19 Apr 2021, 4:00 PM
    Hey, Andrei. Hmmm. Damn. It still doesn't work with our moodle and I put in a new API key. I installed your plugin anew as well but it still has the same error ("No data available"). It's curious because I can see the gifs in the previous step. Do you have any other idea what could be wrong? Do I need to change something in the moodle settings?
  • Sarah Becker
    Mon, 6 Sept 2021, 9:55 PM
    Hey Sabrina, did you ever find a solution to your problem? I've got the exact same thing happening in our moodle installation.
  • Sabrina Hegenberg
    Thu, 9 Sept 2021, 8:38 PM
    Hey Sarah, no sadly we never did ... it still doesn't work.
  • Andrei Băutu
    Fri, 10 Sept 2021, 11:07 AM
    Hello Sabrina and Sarah. I just tested again on a new copy of 3.10.3 and with a proper API key, it worked right away. I also have it running without problems on some other, older-version moodle sites. I believe your problem could be caused by some server setting that is different from the ones I have. If it's possible for you to give me access to your server, I can test more to find where the problem comes.
  • Jeffrey Heisler
    Thu, 21 July 2022, 2:29 AM
    I'm getting the message "Exception - Attempt to assign property "pagesize" on null" when I select a gif. What should I do?
  • Andrei Băutu
    Thu, 21 July 2022, 1:58 PM
    Hi, Jeffrey. Which moodle version are you using?
  • Lillie Williams
    Fri, 5 Jan 2024, 3:28 AM
    Will you be creating a version of this for Moodle 4.x?
1 2
Please login to post comments