Media collection

Activities ::: mod_mediagallery
Maintained by Adam Olley
Part of set Media gallery.
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:
1632 sites
386 downloads
52 fans
Current versions available: 5
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).

Screenshots

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

Contributors

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

Comments RSS

Show comments
  • Adam Olley
    Wed, Nov 6, 2019, 8:44 AM
    Hi @Leticia Dark-rose,

    There is not currently a way to add custom metadata, sorry.
  • 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.
  • 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?
  • 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.
  • 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.
  • 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 !"
  • Saravanan PP
    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.
  • Adam Olley
    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.
  • sanjay jangid
    Sat, Sep 18, 2021, 7:08 PM
    Hi we are using 3.11 when i adding media collection activity its showing blank page
  • Adam Olley
    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?
  • James Calder
    Mon, Jul 10, 2023, 11:02 AM
    Hi Adam,

    One of our learning and teaching specialists is working with art and design teachers and they need a Moodle activity which enables students to post visual media in a gallery format like this and, importantly, to give their peers feedback. Currently the 'completion' is based on simply opening up the activity which doesn't enable learners/and teachers to check they have fully participated in the activity.

    I've started working on adding custom activity completion (based on numbers of added galleries, items, and comments). There's still work to do, but I thought I should check whether you would be interested in this before I keep working on it. Could you take a look? The work in progress is available here:
    https://github.com/james-cnz/moodle-mod_mediagallery/tree/activity_completion_wip
    I don't know if there's a clean way to update completion status in the browser for comments, immediately after comments are added or deleted. It takes a page refresh for this to show. Would this be a show stopper?

    Cheers,
    James
  • Adam Olley
    Wed, Jul 12, 2023, 8:21 AM
    Your completion code looks very promising - I like the look of it.

    I don't think the completion state showing or not immediately after commenting is a big deal. That sort of delay isn't uncommon with other activities and their completion states.

    Once you're ready - open a pull request and we can work on getting the code reviewed and integrated.
  • James Calder
    Wed, Aug 16, 2023, 1:15 PM
    Hi Adam,
    Sorry I'm taking so long, other things getting in the way. I've run into a problem recently, and I was wondering if you could help. I'm trying to test the code I've added to mod_mediagallery\privacy\provider::delete_data_for_users(), and I can't get the function to run. I don't know how to trigger it in Moodle, so I'm trying to call it directly instead. I've made a file test.php, and am accessing it with something like:
    http://[server]/mod/mediagallery/test.php?id=[cmid]&action=delete_data_for_users&user1id=[user1id]&user2id=[user2id]
    I'm getting the error: Field "param1" does not exist in table "mediagallery_gallery"
    On line 553 of /mod/mediagallery/classes/privacy/provider.php
    Do you know if this could be a problem in your code, or am I just calling it wrong?
  • James Calder
    Sat, Sep 16, 2023, 11:57 AM
    Hi Adam,
    I think I've figured out the issue with delete_data_for_users(), and I've made a pull request for it. I'd like to wait until that and the code check fixes pull request are integrated (if they're OK) before making a pull request for custom activity completion, so I can test the code I added to delete_data_for_users(), and run code checks on my changes. Other than that, I think it's about ready. Am I right that the other related plugins are deprecated now, so I don't need to test that my changes are compatible with them?
1 2 3 4 5 6
Please login to post comments