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 #518
    The 518th issue of ProcessWire Weekly brings in all the latest news from the ProcessWire community. Modules, sites, and more. Read on!
    Weekly.pw / 13 April 2024
  • ProFields Table Field with Actions support
    This week we have some updates for the ProFields table field (FieldtypeTable). These updates are primarily focused on adding new tools for the editor to facilitate input and management of content in a table field.
    Blog / 12 April 2024
  • Subscribe to weekly ProcessWire news

“Indeed, if ProcessWire can be considered as a CMS in its own right, it also offers all the advantages of a CMF (Content Management Framework). Unlike other solutions, the programmer is not forced to follow the proposed model and can integrate his/her ways of doing things.” —Guy Verville, Spiria Digital Inc.