Insert Media gallery

TinyMCE (legacy) ::: tinymce_mediagallery
Maintained by Adam Olley
Part of set Media gallery.
Allows you to have carousels of a media gallery or galleries displayed in your course in labels and such.
Latest release:
36 sites
9 downloads
7 fans
Current versions available: 2

When used in conjuction with the TinyMCE plugin (https://moodle.org/plugins/view.php?plugin=filter_mediagallery) 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 (https://moodle.org/plugins/view.php?plugin=mod_mediagallery).

This plugin was written by Adam Olley <adam.olley@netspot.com.au> for the University of New South Wales (http://www.unsw.edu.au).

Screenshots

Screenshot #0

Contributors

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

Comments RSS

Comments

  • Anthony Borrow
    Wed, 21 May 2014, 10:29 AM
    Adam,

    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. Here is what shows up currently:

    Warning Maturity information ($plugin->maturity) not found in version.php
    Warning Release name ($plugin->release) not found in version.php

    Please consider adding a screenshot of your plugin to help folks get an idea of what it looks like when installed. I think showing the popup box would be helpful and would encourage adding instructions for getting the mediagallery button on the TinyMCE editor. I was successfully able to install the plugin and it appears to function as expected. Once I played with this I understood better what you meant about the filter. They work hand and hand with each other.

    It is encouraged to follow Moodle's coding style as outlined in:

    http://docs.moodle.org/dev/Coding_style
    http://docs.moodle.org/dev/Coding

    Tthe code checker plugin can be quite helpful in fine tuning your code and can be found at:

    https://moodle.org/plugins/view.php?plugin=local_codechecker

    You may wish to consider using that tool to further improve your plugin. Below, are the initial results:

    Files found: 6
    lib/editor/tinymce/plugins/mediagallery/mediagallery.php - 0 error(s) and 2 warning(s)
    lib/editor/tinymce/plugins/mediagallery/lib.php
    lib/editor/tinymce/plugins/mediagallery/lang/en/tinymce_mediagallery.php
    lib/editor/tinymce/plugins/mediagallery/tinymce/editor_plugin.js - 2 error(s) and 0 warning(s)
    lib/editor/tinymce/plugins/mediagallery/tinymce/js/mediagallery.js - 26 error(s) and 0 warning(s)
    lib/editor/tinymce/plugins/mediagallery/version.php
    Total: 28 error(s) and 2 warning(s)

    Most of those appear to be whitespace issues so nothing major.

    I did mention the question about the icon.svg file that was not being found when the link was created. Overall, it looks good and once we have the issue with https://moodle.org/plugins/view.php?plugin=mod_mediagallery resolved we can get these all approved. Thanks for your speed response to these issues. For now I will mark this as needing more work. Peace - Anthony
  • Adam Olley
    Wed, 21 May 2014, 12:30 PM
    Hi Anthony,

    Newest version addresses all your issues: version.php, codingstyle, added a screenshot and have updated the README.md with a Post-Install section that explains briefly how to add the button to tinymce.
  • Pimenko
    Mon, 20 Mar 2023, 8:37 PM
    Hi Anthony,

    Are you planning to make this plugin available again with the (big) return of TinyMCE in Moodle 4.1 and later versions?

    Best regards.
Please login to post comments