Media collection embed

Filters ::: filter_mediagallery
Maintained by Adam Olley
Allows you to have carousels of a media gallery or galleries displayed in your course in labels and such.
Latest release:
180 sites
4 fans
Current versions available: 1

When used in conjuction with the TinyMCE plugin ( this plugin allows you to have carousels of a gallery or galleries displayed in your course in labels and such.

This plugin requires the Media collection activity be installed (

This plugin was written by Adam Olley <> for the University of New South Wales (

Note: for the carousel to be fully functional, your theme needs to have jQuery included on the page(s) the filter displays the carousels on. If you don't have jQuery loaded, the carousel will still appear, and clicking the images will still take you to the gallery.


This plugin is part of set Media gallery.


Screenshot #0


Adam Olley (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS


  • Anthony Borrow
    Wed, May 21, 2014, 9:18 AM

    Many thanks for sharing this plugin with the Moodle community.

    Please review the validation results and fix all of the issues mentioned. These changes are typically pretty easy to make but if you have any questions just let us know.

    Warning Maturity information ($plugin->maturity) not found in version.php
    Warning Release name ($plugin->release) not found in version.php
    Warning found. It is not recommended to have extensions other than .txt or .htm because file type may not be recognized by OS. You may choose the 'Rename README.* to README.txt' option to rename this file to README.txt (click 'Back' if form is uneditable)

    I am less concerned about the README notice as I believe we are preparing to allow for the .md file.

    It appears from the README that this plugin is also dependent on the tinymce component so that should probably be added to the version.php file. I had inquired in the media gallery activity module if you were planning on having versions for Moodle 2.6 and later. If you get to 2.7 it may be worth thinking about creating an Atto plugin as well.

    If you think appropriate it would be nice to have some type of screenshot. I was successfully able to install the plugin but did not really test it. In part, because I was not exactly sure how to test it so it may help to make the documentation about how to use the filter.

    The code checker showed no warnings or errors:

    Files found: 4

    Well done!

    As mentioned previously because of the licensing issue with I am going to mark this as needing more work. Please do not hesitate to let me know if there is anything I can do to be supportive of your efforts. Peace - Anthony

    p.s. - I noticed that in some places things are referred to as Media collection and other places as Media gallery. I try to encourage consistency unless there is a method to the madness that I have missed.

  • Wed, May 21, 2014, 10:50 AM
    Hi Anthony,

    I've addressed all the issues you've raised in the version I just updated.

    As discussed "media collection" refers to the overall collection of user galleries.
  • Mon, Jun 16, 2014, 12:53 AM
    any way to allow these galleries to appear on the front page so that visitors can see it?
  • Mon, Jun 16, 2014, 8:25 AM
    g k: If you were to add a Media collection activity to the front page course, you should be able to. Otherwise there are permissions issues - typically the module in a course would be restricted by permissions to only be viewable by users enrolled in that course (and further restrictions may be applied atop of that).
  • Tue, Jun 17, 2014, 5:11 AM
    I tried to add a media collection carousel to the front page via the insert option in an html block. It would not show up.
  • Tue, Jul 22, 2014, 3:47 PM
    I thought 2.5 included jQuery but all my carousels are static.
  • Wed, Jul 23, 2014, 8:09 AM
    Hi Scott,

    Yeah that's the one disappointing limitation. jQuery is indeed available, but the way filters work (at least pre M2.7) makes it difficult to have it dynamically load the carousel and related JS code.

    When I update the filter for M2.7+ I hope to be able to have them as fully functioning carousels rather than simply linking off to the gallery.
  • Ricardo Caiado
    Tue, Mar 14, 2017, 7:44 PM
    Any upgrade to Moodle 3.2?
Please login to post comments