rasteiner/k3-svgo-upload

Optimize SVG images before uploading them

Installs: 4

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 4

Forks: 0

Open Issues: 0

Language:TypeScript

Type:kirby-plugin

0.0.0 2022-02-09 12:34 UTC

This package is auto-updated.

Last update: 2024-05-09 17:46:53 UTC


README

Optimize SVG images before uploading them

Installation

Download

Download and copy this repository to /site/plugins/k3-svgo-upload.

Git submodule

git submodule add https://github.com/rasteiner/k3-svgo-upload.git site/plugins/k3-svgo-upload

Composer

composer require rasteiner/k3-svgo-upload

Setup

Add svgo: true to the files fields / sections where you want to optimize the SVG images:

fields:
  images:
    type: files
    svgo: true

License

MIT

Credits