GithubHelp home page GithubHelp logo

medialibrary's Introduction

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.

medialibrary's People

Contributors

bitpoet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

medialibrary's Issues

Adding new media library

While adding new media library: I clicked "+ Add Library", entered title and hit Save. Since I didn't set MediaLibraryParent:

Notice: Trying to get property of non-object in C:\inetpub\wwwroot\wire\core\PagesEditor.php on line 258
ProcessWire: ProcessMediaLibraries: Can't save page 0: /e-en-library/: It has no parent assigned

I would also expect that after adding the library, redirection to the /admin/media should be made?

Library hanna code

Fantastic module. Appreciate your efforts. Any chance for a hanna shortcode to display all images from one library?

This would enable multiple galleries on a single page.

referencing using image picker

If I wanted to be able to add an image picker field that is not located inside CKeditor how would I utilize this? I need to utilize a separate image field instead of using CKeditor for placement of my image.

Thanks in advance

Info notice

After new library is created, the message is displayed:

"Session: Creating media page šit named it under 1".

  1. Instead of 1 (id) title should be used?
  2. Notice page title "šit"? Page should be created with the name "sit", not "it" (replacing š with s, not removing it).

Removing folder/items

Hey there,

I've just installed the module and noticed I cannot removea folder. Would be nice to have. Also, is there a reason for showing the media in the pages list? I think it would be better if this was optional.
Nonetheless a nice module. I hope to see if progress.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.