pinfirestudios / craft3-dataurifilter
Adds a dataUri filter to encode the file contents to work as a data URI
1.0.1
2018-05-02 23:50 UTC
Requires
- craftcms/cms: ^3.0.0
- data-uri/twig-extension: dev-master
This package is auto-updated.
Last update: 2025-02-22 03:48:26 UTC
README
Adds a dataUri filter to encode the file contents to work as a data URI. Utilizes the following, existing TWIG filter: TwigExtension-DataUri.
This plugin just provides a wrapper to get it loaded into Craft.
Requirements
This plugin requires Craft CMS 3.0.0 or later.
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require pinfirestudios/dataurifilter
-
In the Control Panel, go to Settings → Plugins and click the “Install” button for "Data URI Twig Filter".