Skip to content

Latest commit

 

History

History
58 lines (37 loc) · 1.33 KB

README.md

File metadata and controls

58 lines (37 loc) · 1.33 KB

punkOptimise

NuGet release

A package for Umbraco that allows you to optimise your media using different providers.

Usage

  • Install the package via nuget.

  • Add .AddOptimise() in your startup file:

  services
        .AddUmbraco(_env, _config)
        .AddBackOffice()
        .AddWebsite()               
        .AddOptimise()
        .Build();
  • Add the following configuration element to your appsettings.json
 "Optimise": {
    "Quality": 60,
    "TinyPng": {
      "ApiKey": "",      
    }
  }

Update the ApiKey property with your API key from https://tinypng.com/developers

  • Run Umbraco and there will be a new tree node action on media items to optimise.

Nuget

Install-Package punkOptimise

https://www.nuget.org/packages/punkOptimise/

Compatibility

  • Umbraco 10.4+

Screenshots

Action

Screenshot

Context Menu

Screenshot

Contact

This project is maintained by Gareth Wright and contributors. If you have a question or issue, please get in touch on Twitter, or by raising an issue on GitHub.