MediaLibrary by BitPoet

Simple Media Library module for ProcessWire

MediaLibrary

Simple Media Library Module for the ProcessWire CMS

Status


Beta, very close to stable

Compatibility


This module is compatible with ProcessWire 3.0

Description


This module adds a MediaLibrary template with MediaImages and MediaFiles fields to ProcessWire.

Extends CKEditor's link and image pickers to allow quick selection of library pages. Only libraries under the edited page itself or one of its parents are available to keep things organized.

Screen capture

An overview of all configured libraries is available in the "Media" entry in the backend:

Screenshot Media Overview

Permissions


This module installs the permission "media-library" which enables access to the media libraries overpage page ("Media" menu item) in the backend to non-superusers. Many thanks to inspeCTor for the idea.

Changelog


  • 0.1.6: Install media-library permission for the media libraries overview process page
  • 0.1.4: Fix issue with underscore translation methods not being found
  • 0.1.2: Added option in MediaLibrary to hide libraries from the page tree and added namespace.
  • 0.1.2: Allow deletion of libraries from the Media admin page.
  • 0.1.2: No more support for legacy PW (< 3.0.0)
  • 0.1.1: Module config setting: show Media Libraries collapsed (default) or expanded in the image dialog
  • 0.1.0: Fix "Using $this when not in object context" error
  • 0.0.9: Avoid error when one of MediaImages or MediaFiles fields was removed from the MediaLibrary template
  • 0.0.8: Choose either select dropdown or radios as library selection method in module configuration
  • 0.0.7: Allow nesting of libraries (sublibraries of relevant libraries are also listed in link and image picker).
  • 0.0.7: Fixed a bug in the image picker where the libraries dropdown was filled incorrectly after a library was selected.

Installs


By installing Media Library, the ProcessMediaLibraries (Media Library Overview) module that adds the "Media" menu item in the backend is installed along. So if you uninstall Media Library, make sure you also uninstall ProcessMediaLibrary.

License


Mozilla Public License v2, see LICENSE file for details.

Install and use modules at your own risk. Always have a site and database backup before installing new modules.

Latest news

  • ProcessWire Weekly #559
    The 559th issue of ProcessWire Weekly brings in all the latest news from the ProcessWire community. Modules, sites, and more. Read on!
    Weekly.pw / 25 January 2025
  • ProcessWire 3.0.244 new main/master version
    ProcessWire 3.0.244 is our newest main/master/stable version. It's been more than a year in the making and is packed with tons of new features, issue fixes, optimizations and more. This post covers all the details.
    Blog / 18 January 2025
  • Subscribe to weekly ProcessWire news

“The end client and designer love the ease at which they can update the website. Training beyond how to log in wasn’t even necessary since ProcessWire’s default interface is straightforward.” —Jonathan Lahijani