Nexxa / octobercms-enhanced-media

Abstract media management for OctoberCMS that made possible to add a label to a file and refer to that in your twig template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This plugin allows to mark media manager files with a label, and using a twig filter, retrieve those media manager files url

Feature

  • Add a label to media file manager files and refer to them in template by a twig filter

Usage

  • Select Enhanced Media plugin from the top bar
  • Write a label and then select a file
  • Open the CMS section and choose a file or partials
  • Use the previously defined label with the twig filter enhanced_media
<img src="{{ 'hero-image'|enhanced_media }}">

About

Abstract media management for OctoberCMS that made possible to add a label to a file and refer to that in your twig template

License:MIT License


Languages

Language:HTML 50.6%Language:PHP 49.4%