Activities: Media collection

Maintained by Picture of Adam OlleyAdam Olley
This plugin allows instructors/teachers to create a space for students to submit "galleries". These galleries can be based on images, audio or video.
1405 sites
47 fans
Current versions available: 8
Media collection is an activity that enables users to create galleries (of image/audio/video). The galleries themselves have many display options the user can choose such as displaying in a grid or carousel, and defining the number of items to show per row/column and such.

Each item can have metadata supplied (title, publisher, medium, production date, etc).

When viewing a gallery, selecting an item brings up a lightbox interface that allows the user to view a larger version of the item along with the metadata. Social options are also visible in the lightbox interface (liking & commenting).


This plugin is part of set Media gallery.


Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4
Screenshot #5


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

Comments RSS

Show comments
  • Picture of Adam Olley
    Fri, Sep 6, 2019, 7:50 AM
    Hi Ricardo D, I've just pushed up a new version you can use, "" that includes the fix I did for 3.7 for the same issue.
  • Picture of Ricardo D
    Fri, Sep 6, 2019, 3:56 PM
    I see a warning for the use of the class coursecat that is deprecated but I have it tested in my installation and it works correctly.
    Thank you very much smile
  • Picture of Jon Berardi
    Tue, Sep 10, 2019, 1:42 AM
    I just installed this on 3.7 and I'm not seeing the ability for anyone to add Timeline Comments to a video. General comments work fine when enabled but the Media Display Interface shown on the UNSW website doesn't look anything like my environment.

    What might be missing to cause this?
  • Picture of Adam Olley
    Tue, Sep 10, 2019, 6:48 AM
    Hi Jon,
    Unfortunately the features you describe from their website are part of a bespoke solution they have - they have an entire media platform separate to Moodle that the plugin is customised to integrate with for them - the timeline comments functionality comes from that separate service.
  • Picture of Chris Baldwin
    Fri, Sep 27, 2019, 4:37 PM
    Hi There
    a colleague is getting an error message when trying to set up a new gallery " Too many galleries, please delete or change collection type ", there is currently only one gallery on the specific moodle page - the upload limit is set to 600mb. This is a 3D design course so lots of galleries will need creating. I'm struggling to see a problem with the set up of the gallery - anyone have any clues?


  • Picture of Adam Olley
    Mon, Sep 30, 2019, 8:03 AM
    Hi Chris Baldwin,

    It depends on which mode the collection is in, and if a limit on the number of galleries allowed has been set.

    That particular error message shows up when the collection is set to "Single" mode - which is intended for just one gallery in the collection total.
  • Profile pic
    Tue, Nov 5, 2019, 9:09 AM
    Hi, Is there any way to add custom metadata fields?
  • Picture of Sairam Chinnam
    Tue, Nov 5, 2019, 10:05 PM
    Hi, As @Peter D. already mentioned, migrating course content using Backup/Restore (with user content excluded) or Course Import methodology, migrates user content from within the activity. This is not ideal as no other activity behaves this way. Can you please fix this?
  • Picture of Adam Olley
    Wed, Nov 6, 2019, 8:44 AM
    Hi @sairam and @peter d. I've included a fix for the galleries/items being included in backups when user data was off in the latest version v3.7.0.2. Anyone running an earlier version can apply this to their version by making the change to mod/mediagallery/backup/moodle2/backup_mediagallery_stepslib.php as is done in this commit:
  • Picture of Adam Olley
    Wed, Nov 6, 2019, 8:44 AM
    Hi @Leticia Dark-rose,

    There is not currently a way to add custom metadata, sorry.
  • Picture of Julia Gouffier
    Wed, Feb 26, 2020, 10:26 PM
    Quisiera saber si hay manera de identificar al usuario que hizo cada publicación, de manera rápida, sin tener que ir a la información de la imagen o video. Por ejemplo, con un color.
  • Picture of Cristián Rizzi Iribarren
    Sat, May 2, 2020, 3:55 AM
    Hi! I have Moodle 3.7 and it works well except for audios. The users are able to upload the audios but then the audios are not shown nor played, just the black screen with the download, back and forth button but no sound and the only way to get out is with the back arrow of the browser. Anyone with the same problem?
  • Picture of Cristián Rizzi Iribarren
    Sat, May 2, 2020, 4:04 AM
    One more thing. If the collection was created as for any files (instead of being just for audio), then the audios are correctly played. The problem arises when the collection is just for sounds. Regards.
  • Picture of Adam Olley
    Fri, May 8, 2020, 2:14 PM
    Hi Cristián, I can replicate the audio issue. I'm taking a look into it now.
  • Picture of Francis Feytout
    Fri, Jul 17, 2020, 4:18 PM
    Hi Adam, looks like collection resets are not implemented on version 3.7.4, I have the following message :
    "Reset not implemented
    Media collections !"
1 2 3 4 5 6
Please login to post comments