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 #550
    In the 550th issue of ProcessWire Weekly we're going to check out the latest core updates, introduce a new third party module called PagefileMetadata, and more. Read on!
    Weekly.pw / 23 November 2024
  • Custom Fields Module
    This week we look at a new ProFields module named Custom Fields. This module provides a way to rapidly build out ProcessWire fields that contain any number of subfields/properties within them.
    Blog / 30 August 2024
  • Subscribe to weekly ProcessWire news

I just love the easy and intuitive ProcessWire API. ProcessWire rocks!” —Jens Martsch, Web developer