rasteiner/k3-svgo-upload

Optimize SVG images before uploading them

Installs: 5

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

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: 2025-03-09 19:36:47 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