Our.Umbraco.AutoImageOptimze 0.1.1

Allows automatic imageoptimaztion with Imageprocessor.

Install-Package Our.Umbraco.AutoImageOptimze -Version 0.1.1
dotnet add package Our.Umbraco.AutoImageOptimze --version 0.1.1
<PackageReference Include="Our.Umbraco.AutoImageOptimze" Version="0.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Our.Umbraco.AutoImageOptimze --version 0.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Our.Umbraco.AutoImageOptimze, 0.1.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Our.Umbraco.AutoImageOptimze as a Cake Addin
#addin nuget:?package=Our.Umbraco.AutoImageOptimze&version=0.1.1

// Install Our.Umbraco.AutoImageOptimze as a Cake Tool
#tool nuget:?package=Our.Umbraco.AutoImageOptimze&version=0.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Allows automatic imageoptimaztion with Imageprocessor.

This package includes ImageProcessor.Plugins.WebP 1.3 and requires ImageProcessor (>= 2.8.0)

The plugin will "optimize" by adding default variables to imageprocessor.web querystring

Appsettings

<!-- Disables the plugin -->
<add key="Our.Umbraco.AutoImageOptimze:Disabled" value="false" />

<!-- Enabled automatic webp plugin -->
<add key="Our.Umbraco.AutoImageOptimze:WebP" value="true" />

<!-- Ignores extensions and paths - Example: "app_plugins, .gif" will ignore app_plugins folder and .gif -->
<add key="Our.Umbraco.AutoImageOptimze:Ignore" value=""/>

<!-- Sets default quality -->
<add key="Our.Umbraco.AutoImageOptimze:Quality" value="0" />

<!-- Set maxwidth for all none cropped images -->
<add key="Our.Umbraco.AutoImageOptimze:MaxWidth" value="0" />

<!-- Set maxheight for all none cropped images  -->
<add key="Our.Umbraco.AutoImageOptimze:MaxHeight" value="0" />

<!-- Caches all requests for 5 minutes, 0 will disable cache -->
<add key="Our.Umbraco.AutoImageOptimze:CacheTimeout" value="300" />

<!-- Reverts default logic, and will not "optimize" unless "optimize=true" is set in the querystring -->
<add key="Our.Umbraco.AutoImageOptimze:Automatic" value="false" />

Allows automatic imageoptimaztion with Imageprocessor.

This package includes ImageProcessor.Plugins.WebP 1.3 and requires ImageProcessor (>= 2.8.0)

The plugin will "optimize" by adding default variables to imageprocessor.web querystring

Appsettings

<!-- Disables the plugin -->
<add key="Our.Umbraco.AutoImageOptimze:Disabled" value="false" />

<!-- Enabled automatic webp plugin -->
<add key="Our.Umbraco.AutoImageOptimze:WebP" value="true" />

<!-- Ignores extensions and paths - Example: "app_plugins, .gif" will ignore app_plugins folder and .gif -->
<add key="Our.Umbraco.AutoImageOptimze:Ignore" value=""/>

<!-- Sets default quality -->
<add key="Our.Umbraco.AutoImageOptimze:Quality" value="0" />

<!-- Set maxwidth for all none cropped images -->
<add key="Our.Umbraco.AutoImageOptimze:MaxWidth" value="0" />

<!-- Set maxheight for all none cropped images  -->
<add key="Our.Umbraco.AutoImageOptimze:MaxHeight" value="0" />

<!-- Caches all requests for 5 minutes, 0 will disable cache -->
<add key="Our.Umbraco.AutoImageOptimze:CacheTimeout" value="300" />

<!-- Reverts default logic, and will not "optimize" unless "optimize=true" is set in the querystring -->
<add key="Our.Umbraco.AutoImageOptimze:Automatic" value="false" />

Release Notes

- Cache based on webp (https://github.com/Bjornmamman/Our.Umbraco.AutoImageOptimze/issues/1)
- Allow cache disable by setting timeout, default to 5 minutes
- Allow reversing automatic-logic based on querystring
- Set optimize=true/false

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.1.1 166 5/21/2020
0.1.0 171 5/16/2020