paulmassen / grav-plugin-image64

Twig Extensions plugin for Grav to encode image in base64

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Twig Image64 Plugin

This README.md file should be modified to describe the features, installation, configuration, and general usage of this plugin.

The Twig Image64 Plugin is for Grav CMS. Base 64 encode image

Installation

Installing the Twig Image64 plugin can be done in one of two ways. The GPM (Grav Package Manager) installation method enables you to quickly and easily install the plugin with a simple terminal command, while the manual method enables you to do so via a zip file.

GPM Installation (Preferred)

The simplest way to install this plugin is via the Grav Package Manager (GPM) through your system's terminal (also called the command line). From the root of your Grav install type:

bin/gpm install twig-image64

This will install the Twig Image64 plugin into your /user/plugins directory within Grav. Its files can be found under /your/site/grav/user/plugins/twig-image64.

Manual Installation

To install this plugin, just download the zip version of this repository and unzip it under /your/site/grav/user/plugins. Then, rename the folder to twig-image64. You can find these files on GitHub or via GetGrav.org.

You should now have all the plugin files under

/your/site/grav/user/plugins/twig-image64

NOTE: This plugin is a modular component for Grav which requires Grav and the Error and Problems to operate.

Configuration

Before configuring this plugin, you should copy the user/plugins/twig-image64/twig-image64.yaml to user/config/plugins/twig-image64.yaml and only edit that copy.

Here is the default configuration and an explanation of available options:

enabled: true

Usage

Describe how to use the plugin.

Credits

Did you incorporate third-party code? Want to thank somebody?

To Do

  • Future plans, if any

About

Twig Extensions plugin for Grav to encode image in base64

License:MIT License


Languages

Language:PHP 100.0%