Your Moodle version

Activities: Media collection

Maintained by Picture of Adam Olley 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.
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


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
    Mon, Aug 25, 2014, 1:29 PM

    I've pushed up a small hotfix for that to both github and here. Looks like it's some php syntax I used that isn't compatible with earlier version of php than what I was using when I wrote it. Let me know if it doesn't work for you.
  • Picture of Richard Chui
    Mon, Aug 25, 2014, 2:14 PM
    Works like a charm. Thank you so much!
  • Picture of Chen ZhongWei
    Fri, Oct 24, 2014, 3:31 PM
    Thanks Adam. A nice plugin for multimedia assignments. Is it possible to rate or assess the image/video ?
  • Picture of Adam Olley
    Thu, Nov 20, 2014, 7:53 AM
    Hi Chen,

    Unfortunately it doesn't have ratings for individual items right now. Its definitely something that might be added in future though.
  • Picture of Adam Olley
    Mon, Nov 24, 2014, 11:44 AM
    Features coming soon in v2.7.1.0:

    * Change 'gallery type' to 'gallery focus'. Rather than forcing a gallery to only display one content type in the main and lightbox areas with all other content as supporting files, gallery focus lets you set a default focus for the gallery, and then the user viewing is able to toggle between audio/image/video being the focus.

    * Tags: You'll be able to add tags to collections, galleries and items.

    * Collection types: a collection activity will be able to be set to 1 of 4 types.
    ** Instructor collection - only instructors can create galleries/items.
    ** Contributed collection - all users can create galleries/items - but this collection can't be used with the assign submission plugin.
    ** Assignment collection - users can only see their own galleries - and can be used for an assign submission.
    ** Peer reviewed collection - users can see each others galleries - and can be used for an assign submission.

    * Gallery modes. Two modes you can pick from when making a gallery.
    ** Standard - the same as now.
    ** YouTube - only accepts youtube videos as items.
  • Picture of Maya Nguyen
    Wed, Dec 17, 2014, 10:44 PM
    One of my teachers is having issues setting the number of columns and rows in his image galleries. He determines what he wants in the media collection parameters but those don't seem to carry over to his image galleries which automatically display 6 columns with 6 items per row. Any way to modify this?
  • Picture of 景東 王
    Wed, Apr 29, 2015, 9:59 PM
    Hi Adam, this module support youtube for external link,I suggest this module can support other sites except youtube, for example,ted ,vimeo,...,if you use the oembed filter (,could you add this function?
    Maybe the moodle-mod-mediagallery-mediabox.js will be more concise.
  • Daniel
    Fri, May 8, 2015, 6:37 PM
    What is "theBox" in this plugin ?
  • Picture of Adam Olley
    Tue, May 12, 2015, 12:35 PM
    Hi Daniel,

    It's a custom repository, whilst parts of the code refer to it, it shouldn't have any effect on your actual use of the plugin when you don't have it.

    If it's showing up anywhere in the interface - let me know as it shouldn't be.
  • Picture of mo ollek
    Thu, May 14, 2015, 12:32 AM
    Hi, I've tried to upgrade your plugin on moodle 2.8.2+, I am getting the following error:

    Debug info: Unknown column 'objectid' in 'mdl_mediagallery_gallery'
    ALTER TABLE mdl_mediagallery_gallery ADD mode VARCHAR(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT 'standard' AFTER objectid
    Error code: ddlexecuteerror

    Any ideas how to get around this?
  • Picture of Thomas Michalak
    Fri, May 15, 2015, 12:50 AM
    same (like mo ollek) for my.
  • Picture of Adam Olley
    Fri, May 15, 2015, 8:44 AM
    Hi mo ollek, Thomas,

    I've just updated the version available which should resolve that upgrade issue. Let me know if you still have problems.
  • Picture of mo ollek
    Fri, May 15, 2015, 11:34 AM
    Adam, problem solved. Thanks.
  • Picture of Eduardo Andres Pinetti
    Wed, Jul 1, 2015, 5:25 AM

    First at all sorry If is not good posting my question here.. I am newbie.
    I use this plugin and I need create galleries including Vimeo videos instead of Youtube
    Any idea how I can do that? Thanks

  • Picture of Adam Olley
    Wed, Jul 1, 2015, 7:40 AM
    Hi Eduardo,

    Unfortunately only youtube is supported for videos not hosted within Moodle itself.

1 2
Please login to post comments