Skip to content

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

License

Notifications You must be signed in to change notification settings

Nexxa/octobercms-enhanced-media

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published