Media collection

Activities ::: mod_mediagallery
Maintained by Adam 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.
Latest release:
1667 sites
52 fans
Current versions available: 9
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


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

Comments RSS

Show comments
  • 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?
  • 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?
  • 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:
  • Wed, Nov 6, 2019, 8:44 AM
    Hi @Leticia Dark-rose,

    There is not currently a way to add custom metadata, sorry.
  • 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.
  • 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?
  • 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.
  • Fri, May 8, 2020, 2:14 PM
    Hi Cristián, I can replicate the audio issue. I'm taking a look into it now.
  • 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 !"
  • Mon, Aug 9, 2021, 4:45 PM
    I have installed this plugin, and created a gallery and uploaded some files to it, now tried to delete few files from the gallery using the delete link available in the file settings menu, after clicking the delete it is asking for a confirmation, however, the file is not getting deleted. similarly, I am not able to delete the gallery as well. Kindly help me with how to do it. I am using Moodle 3.9 version.
  • Tue, Aug 10, 2021, 12:43 PM
    Hi Saravanan PP,

    Are you logged in as the user that created those items and gallery? Deletion of both is working for me on 3.9.
  • Sat, Sep 18, 2021, 7:08 PM
    Hi we are using 3.11 when i adding media collection activity its showing blank page
  • Tue, Sep 21, 2021, 8:31 AM
    Hi Sanjay - are you able to enable debugging mode to see what the actual error is? The plugin is working fine for me on M3.11 out of the box.
  • Russell Waldron
    Mon, Jan 10, 2022, 7:26 AM
    Hi Adam, loving the media collection. Is there a way to change the displayed order of galleries in the collection?
1 2 3 4 5 6
Please login to post comments